Pod restarts endlessly; READY 0/1; status CrashLoopBackOff.
The container process is dying on startup, and k8s backs off exponentially between retries.
kubectl logs <pod> --previouskubectl run test --rm -it --image=<image> -- shkubectl describe pod <pod> # look for missing configmaps/secretsstartupProbe: { failureThreshold: 30, periodSeconds: 10 }Use startupProbe for slow-boot apps; CI should smoke-test container entrypoints.
Full walkthrough: Kubernetes CrashLoopBackOff: Systematic Fix on the NinjaOps blog.
Spinning up a fresh box to reproduce or escape this error?
Managed cloud hostingNinjaOps publishes free engineering guides. Some outbound links are affiliate links: they cost you nothing and support the site.
Last reviewed 2026-10-02 · NinjaOps SEO grid · DevOps blog