Explainers · Short

Your liveness probe is killing the pod

Published
Duration
Language
English

Watch on YouTube ↗

Transcript

Text of the video's narration.

Your pod is up. Then it isn't. Then CrashLoopBackOff. A liveness probe knocks every ten seconds. After three failures, the kubelet kills the container. A slow app never finishes booting. A startup probe holds liveness back until the app is started.

Then liveness takes over, still sharp. Do not point liveness at the database. Check the app itself. Let readiness check the backends: a failed readiness probe takes the pod off the Service, and does not restart it. Startup waits. Readiness steps aside. Liveness restarts only when the process is stuck.

Sources

Credits and notes

  • Narrated with Phonon; motion in Remotion.

More in this series · Explainers