The site goes down for a minute every few minutes; pods restart with "Liveness probe failed: Get "http://10.0.3.17:8080/healthz": context deadline exceeded".

IntermediateTroubleshootingSite down
Answer

Likely causes → Under load, the app is too slow to answer the probe within timeoutSeconds (default 1s), so kubelet kills healthy-but-busy pods, which pushes more load onto the rest. Also common: GC pauses or CPU throttling.

Diagnose →

kubectl get pods -n prod -o wide              # RESTARTS climbing
kubectl describe pod api-xxx -n prod | grep -A3 Liveness
kubectl top pods -n prod

Fix → Raise timeoutSeconds and failureThreshold, serve /healthz from a lightweight thread, and add replicas or CPU.

Prevent → Use a startupProbe for slow boots, keep liveness lenient, and alert on restart rate.

All Real-World Interview questions Roadmap: Interview readiness

More on Site down