CKAD · Application Observability and Maintenance · lesson 2 of 6

Startup Probes and Probe Configuration

Use startup probes to protect slow-starting containers from premature liveness kills, and tune failureThreshold × periodSeconds to size the startup window correctly.

15 min · Exam domain: Application Observability and Maintenance (15%)

Your liveness probe fires at second 5. Your JVM app hasn't finished loading its Spring context yet. Kubernetes kills the container. The pod restarts. The liveness probe fires at second 5 again. Repeat until CrashLoopBackOff.

This is the canonical slow-start failure mode, and the usual fix (padding initialDelaySeconds until the probe stops firing) trades one problem for another. Set it to 60 seconds and you won't detect a real deadlock for a full minute after every container restart. Set it to 120 and you've effectively disabled liveness for two minutes on every rollout.

Enroll to read the rest of this lesson

Free. Your progress and certificate come with it.

Enroll, free