Pod running but not Ready

readinessProbe failing — service has no endpoints.

Reviewed: ·Tested on: Kubernetes 1.29, Terraform 1.8, Ubuntu 22.04

Symptoms

  • 0/1 Ready
  • readiness probe failed
  • no endpoints
  • 503 service unavailable

1Debug readiness probe

kubectl describe pod <pod> -n <ns> | grep -A5 Readiness
kubectl logs <pod> -n <ns>
curl http://<pod-ip>:8080/health

2Verify endpoints

kubectl get endpoints <service> -n <ns>
# Fix probe path/port or startup time (startupProbe)

Related