Troubleshooting · TL;DR

1 min read
Mid-level2 min read
Rapid overview

TL;DR

Pod debugging follows a fixed flow: kubectl get/describe to read status and events, kubectl logs (plus --previous after a crash) to see what the container said, and kubectl exec or kubectl debug for a shell. The pod-status table — Pending, ImagePullBackOff, CrashLoopBackOff, OOMKilled, Evicted — is the cheat sheet that maps a symptom straight to a likely cause.

See also