A 30-second database blip turns into a 20-minute full outage because every pod became NotReady at the same time.
AdvancedTroubleshootingSite down
Answer
Likely causes → Readiness probes check the database (a deep health check). When the DB blipped, every pod failed readiness, all endpoints were removed, and the ingress returned 503 even for pages that don't need the DB. Liveness probes doing the same thing restart pods and add a thundering herd of reconnects.
Diagnose →
kubectl get events -n prod --field-selector reason=Unhealthy | head
kubectl get deploy api -n prod -o jsonpath='{.spec.template.spec.containers[0].readinessProbe}'
Fix → Make liveness check only the process. Make readiness check only what the pod itself needs to serve (not shared dependencies), and handle DB errors per request with a degraded response.
Prevent → Health check design review: shared dependencies never in liveness, rarely in readiness. Add connection-retry backoff with jitter.
More on Site down
Every user reports "This site can't be reached — ERR_NAME_NOT_RESOLVED" for your domain.BeginnerRight after a deploy, nginx returns "502 Bad Gateway" on every page.BeginnerALB returns "503 Service Temporarily Unavailable" and the target group shows 0 healthy targets.Beginner`curl https://app.example.com` hangs and ends with "Connection timed out" on port 443.BeginnerAfter a Helm upgrade, the ingress returns "default backend - 404" for your domain.IntermediateAll pods are Running and Ready, but the Service has no endpoints and traffic fails.Intermediate