CrashLoopBackOff? - TheLearnLoop/ExploringKubernetes GitHub Wiki
CrashLoopBackOff as the name suggests, means that there is some issue with the pod and it keeps crashing again and again like in a loop!
In other words, a pod fails to start due to an underlying container failure. Kubernetes tried to restart it multiple times but the pod crashed repeatedly.
The delay between restarts is exponential (10s, 20s, 40s ....) and is capped for 5min.
Now, this can be because of several reasons :
- a resource exhaustion like low memory or CPU overload etc..
- possible locking issue / port conflict / missing files / 3rd party service failures
- missing dependencies
- Liveness probe failure
- App deployed is taking a long time to become ACTIVE and maybe the Livenes period seconds or timeoutseconds is too small. etc...