Kubernetes readiness probe failed: restore eligible service endpoints
Readiness probe failed:
A failing readiness probe tells Kubernetes that a container should not currently serve traffic. It makes the Pod unready and normally excludes it from ready Service endpoints, but does not itself restart the container. A Running Pod with READY 0/1 can therefore be alive while unavailable through its Service.
The probe targets the wrong port, path, protocol, or named port, or the application listens only on an address that the kubelet cannot reach.
The application is still initializing or a required dependency is unavailable, so the readiness endpoint correctly reports that requests would fail.
The check times out under load, or its timeout is shorter than the application's normal health-response time.
The health route returns an authentication error or an application failure, or an exec probe fails because its command is missing or exits nonzero.
How to fix it
Inspect kubectl describe pod POD -n NAMESPACE and read the complete Unhealthy event. Identify whether the failure is a refused connection, timeout, HTTP response, or exec command result. Check the named container's readinessProbe rather than assuming it matches the liveness configuration.
Compare the probe with the running application's listener and health route. For an HTTP probe, check path, port, scheme, and required headers. A successful request through an Ingress does not prove the kubelet can reach the Pod's health endpoint directly. A localhost-only listener can explain that difference.
Correlate current container logs and dependency health with the probe timestamps. If the endpoint reports a real inability to serve requests, fix that dependency or initialization problem. Avoid changing a health handler to always return success merely to turn the status green.
Review startup duration, timeoutSeconds, periodSeconds, failureThreshold, and successThreshold using observed behavior. Use a startup probe when slow initialization needs explicit protection from liveness restarts. Readiness failures alone should not be diagnosed as the reason a restart counter increases.
After recovery, inspect the Pod's Ready condition and kubectl get endpointslice -n NAMESPACE -l kubernetes.io/service-name=SERVICE -o yaml. Confirm the intended Pod is a ready endpoint and test through the Service. If readiness passes but traffic still fails, check Service selectors, ports and networking as a separate issue.