What it means
A failing readiness probe doesn't restart anything: the Pod stays Running with READY 0/1 and gets no Service traffic until the probe passes. It's often correct (the app is warming up), and sometimes a misconfigured probe.
Causes and fixes
Most likely first. Run the check, and if it matches, apply the fix.
1. The probe checks the wrong path or port
Check:
kubectl describe pod <pod> | grep -A3 Readiness
Fix: Point it at the app's real health endpoint and port.
2. The app depends on something that's down and reports not ready
Check:
kubectl logs <pod>
Fix: Fix the dependency; decide whether readiness should depend on it at all.
3. Timeouts too short for a slow endpoint
Check:
kubectl get pod <pod> -o yaml | grep -A6 readinessProbe
Fix: Raise timeoutSeconds or use a cheaper health endpoint.
Fix it yourself
A live machine in your browser with this problem already on it. The grader checks the result.
Open the labNo account needed for your first tries.
Related errors
- Service has no endpoints
The Service exists, but its selector matches no ready Pods, so connections fail.
- Liveness probe failed ... Container will be restarted
The kubelet restarts a container whose liveness probe fails, often before a slow app has started.