Kubernetes Probes: Why Your Pod Hits CrashLoopBackOff
- Published
- Duration
- Language
- English
Summary
Your pod is up. Then it isn't. Then CrashLoopBackOff. This short explainer covers Kubernetes liveness, readiness and startup probes, and why a badly configured probe can restart a pod in a loop or drop it from a Service.
A liveness probe decides when to restart a container. By default it runs every 10 seconds, and after 3 failures the kubelet kills the container. With the default initial delay of 0 seconds, that is about 30 seconds, using the official formula: initialDelaySeconds plus failureThreshold times periodSeconds. If the app is still booting, the same clock starts again, and the pod can sit in CrashLoopBackOff.
A startup probe holds liveness and readiness back until the app is actually started. The official example uses a failure threshold of 30 and a period of 10 seconds, which gives 5 minutes (300 seconds) to boot. Once startup succeeds, liveness takes over, still sharp.
Do not point liveness at a dependency such as a database. Official guidance: the liveness probe should pass when the app itself is healthy; the readiness probe can check required back-end services. A failed readiness probe removes the pod from Service endpoints. The container keeps running.
Defaults cited from the official docs, opened 11 November 2026: periodSeconds 10, failureThreshold 3, timeoutSeconds 1, initialDelaySeconds 0. Example manifests were parsed with PyYAML and schema-checked with kubeconform v0.8.0 (strict, Kubernetes 1.37.2).
Chapters
- 0:00 CrashLoopBackOff
- 0:08 A liveness probe already knocking
- 0:26 A startup probe holds the others back
- 0:42 Liveness checks the app, readiness the backends
- 1:00 Three probes, three jobs
Transcript
Text of the video's narration.
Your pod is up. Then it isn't. Then CrashLoopBackOff. The app is still booting, but a liveness probe is already knocking. By default it runs every ten seconds, and after three failures the kubelet kills the container. That is about thirty seconds.
The container starts again, the same clock starts again, and it never finishes coming up. A startup probe holds the other probes back until the app is actually started. With a failure threshold of thirty and a period of ten seconds, you get five minutes to boot.
Once startup succeeds, liveness takes over, still sharp. Here is the other trap. If liveness pings the database, a short outage can restart pods that were fine. Official guidance: liveness checks the app itself. Readiness can check the backends.
A failed readiness probe takes the pod off the Service. It does not restart it. Three probes, three jobs. Startup waits. Readiness steps aside. Liveness restarts only when the process is stuck.
Sources
- Liveness, Readiness, and Startup Probes kubernetes.io
- Configure Liveness, Readiness and Startup Probes kubernetes.io
- Pod Lifecycle (CrashLoopBackOff) kubernetes.io
Credits and notes
- Narrated with Phonon; motion in Remotion.



