The container starts, then exits (often with a non-zero exit code). The kubelet restarts it with exponential backoff. Common causes include application errors, failed probes, OOM, or missing config.
Warning
N/A
- Report shows: Pod has container in state CrashLoopBackOff
- kubectl get pods shows Restarts increasing and status CrashLoopBackOff
- Check container logs: kubectl logs with --previous if needed
- Check liveness/readiness probes and adjust thresholds or command if they fail too soon
- Verify config maps, secrets, and env vars the container needs are present
- If OOM suspected, increase memory limits or fix memory leaks
- Use kubectl describe pod to see the last termination reason and exit code
- Kubernetes docs: Debug applications, Configure liveness/readiness probes