kubernetes
pod-lifecycle
ai_generated
true
CrashLoopBackOff
ID: kubernetes/crashloopbackoff
90%Fix Rate
92%Confidence
50Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 8 | active | — | — | — |
| 8 | active | — | — | — |
Root Cause
Container repeatedly crashes and Kubernetes keeps restarting it with exponential backoff.
genericWorkarounds
-
95% success Check container logs: kubectl logs <pod> --previous to see crash reason
The --previous flag shows logs from the last crashed instance
Sources: https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/
-
93% success Use kubectl describe pod <pod> to check events, readiness probes, and resource limits
Common causes: OOM kills, failed liveness probes, missing config/secrets
Dead Ends
Common approaches that don't work:
-
Deleting and recreating the pod
85% fail
Kubernetes will restart it with the same config; crash will recur
-
Increasing restart policy backoff
90% fail
Does not fix the underlying crash
Error Chain
Frequently confused with: