I had a doubt on the count shown inside the pod as liveness and readiness probe failures. Does the count increment for every failure OR does the count increment after the failureThreshold count is breached? Thanks in advance for your inputs.
0
votes
1 Answers
1
votes
It counts increment for every failure. If the count passes the failureThreshold
count then it restarts the pod according to the restarting policy and also depending the probes (differently for liveness and readiness probe). Kubernetes try a probe failureThreshold
times then give up. For liveness
probe it does restart the container and for readiness
probe the Pod will be marked Unready
.