Probes
Appears in
.Values.workload.$name.podSpec.containers.$name
probes
Define probes for the container
Key | workload.$name.podSpec.containers.$name.probes |
Type | map |
Required | ✅ |
Helm tpl | ❌ |
Default | {} |
Example
probes.liveness
Define the liveness probe
Key | workload.$name.podSpec.containers.$name.probes.liveness |
Type | map |
Required | ✅ |
Helm tpl | ❌ |
Default | {} |
Example
probes.readiness
Define the readiness probe
Key | workload.$name.podSpec.containers.$name.probes.readiness |
Type | map |
Required | ✅ |
Helm tpl | ❌ |
Default | {} |
Example
probes.startup
Define the startup probe
Key | workload.$name.podSpec.containers.$name.probes.startup |
Type | map |
Required | ✅ |
Helm tpl | ❌ |
Default | {} |
Example
probes.$probe.enabled
Enable or disable the probe
Key | workload.$name.podSpec.containers.$name.probes.$probe.enabled |
Type | bool |
Required | ✅ |
Helm tpl | ❌ |
Default | true |
Example
probes.$probe.type
Define probe type
Key | workload.$name.podSpec.containers.$name.probes.$probe.type |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | http |
Valid Values:
exec
http
https
tcp
grpc
Example
probes.$probe.command
Define command(s)
See Command for more information.
probes.$probe.port
Define the port
Key | workload.$name.podSpec.containers.$name.probes.$probe.port |
Type | int |
Required | ✅ |
Helm tpl | ✅ |
Default | unset |
Example
probes.$probe.path
Define the path
Key | workload.$name.podSpec.containers.$name.probes.$probe.path |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | / |
Example
probes.$probe.httpHeaders
Define the httpHeaders
Key | workload.$name.podSpec.containers.$name.probes.$probe.httpHeaders |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
probes.$probe.spec
Define the probe spec
Key | workload.$name.podSpec.containers.$name.probes.$probe.spec |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | {} |
Example
probes.$probe.spec.initialDelaySeconds
Define the initialDelaySeconds in seconds
Key | workload.$name.podSpec.containers.$name.probes.$probe.spec.initialDelaySeconds |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | See defaults for each probe here |
Example
probes.$probe.spec.periodSeconds
Define the periodSeconds in seconds
Key | workload.$name.podSpec.containers.$name.probes.$probe.spec.periodSeconds |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | See defaults for each probe here |
Example
probes.$probe.spec.timeoutSeconds
Define the timeoutSeconds in seconds
Key | workload.$name.podSpec.containers.$name.probes.$probe.spec.timeoutSeconds |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | See defaults for each probe here |
Example
probes.$probe.spec.failureThreshold
Define the failureThreshold in seconds
Key | workload.$name.podSpec.containers.$name.probes.$probe.spec.failureThreshold |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | See defaults for each probe here |
Example
probes.$probe.spec.successThreshold
Define the successThreshold in seconds. liveness
and startup
must always be 1
Key | workload.$name.podSpec.containers.$name.probes.$probe.spec.successThreshold |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | See defaults for each probe here |
Example