Merge pull request #47176 from kundan2707/failureThreshold

updated default and min value
This commit is contained in:
Kubernetes Prow Robot 2024-07-16 17:37:06 -07:00 committed by GitHub
commit 415c863ac5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -405,6 +405,7 @@ liveness and readiness checks:
Minimum value is 1.
* `failureThreshold`: After a probe fails `failureThreshold` times in a row, Kubernetes
considers that the overall check has failed: the container is _not_ ready/healthy/live.
Defaults to 3. Minimum value is 1.
For the case of a startup or liveness probe, if at least `failureThreshold` probes have
failed, Kubernetes treats the container as unhealthy and triggers a restart for that
specific container. The kubelet honors the setting of `terminationGracePeriodSeconds`