A pod's readiness probe has been failing for two minutes while its liveness probe keeps passing. What state is the pod in right now: is it being restarted, is it serving?
- The pod phase changed to Failed. Phase reflects container termination, not probe results. A not-ready pod is still Running.
- The kubelet restarted the container after the failure threshold. Only the liveness probe triggers restarts. Confusing the two is the most common probe error in interviews and in clusters.
- It is still Running and was removed from its Service's endpoints; no restart happens. Readiness controls traffic eligibility only. The container keeps running; EndpointSlices drop the pod until the probe passes again.
- The scheduler evicted it and is placing it on another node. Probes never move pods; scheduling happens once, at placement.
The pod keeps running but is removed from the Service endpoints; a failing readiness probe never restarts a container.
Readiness answers "should this pod receive traffic?"; liveness answers "should this container be restarted?". A failing readiness probe removes the pod from EndpointSlices, which is exactly what you want during warm-up or a dependency outage. A failing liveness probe restarts the container, which is what you want only for a genuinely stuck process. Interviewers listen for whether you keep these separate.
Saying a failing readiness probe restarts the container. Only liveness restarts; readiness only removes the pod from EndpointSlices, and the phase stays Running.