k8s - liveness probe failure threshold


While troubleshooting production deployment, was ask how many times does k8s hit pod before it gives up. So k8s has a failureThreshold set to 3. So, if a request to probe health 4th times then it will get timeout and deployment fails. 

For an pod that is already running but then fail liveness problem, then it falls back to the configure RestartPolicy.

As documented here.

https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#probe-v1-core



Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm