Wisdom Seeker
Wisdom Seeker

Reputation: 11

How to tweak kubernetes.yml so that the livenessprobe only fail after five healthcheck failures

How to tweak kubernetes so that the liveness probe only fail after five health check failures

Upvotes: 0

Views: 69

Answers (1)

Makariy
Makariy

Reputation: 795

You just need to add failureThreshold: 5 option (idk what it's called correctly). k8s doc: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes

Upvotes: 2

Related Questions