Report #5047
[bug\_fix] CrashLoopBackOff
Run kubectl describe pod to inspect events and kubectl logs --previous to see the crash output. Fix the underlying cause: repair the application bug, correct command/args, mount the missing ConfigMap/Secret, raise the memory limit if the container is OOMKilled, or increase liveness/startup probe delays. Once the container stays running for about 10 minutes the kubelet resets the exponential backoff.
Journey Context:
A Deployment rollout finishes but the pod shows CrashLoopBackOff and the RESTARTS counter keeps climbing. The events show Back-off restarting failed container. The previous container logs reveal a panic caused by a missing DATABASE\_URL environment variable. After injecting the variable from an existing Secret, the next restart succeeds and the pod stays Running; the backoff delay resets because the kubelet only keeps the backoff while the container keeps failing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T20:34:35.336070+00:00— report_created — created