Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Chapter 10: Health Checks — Probes and Graceful Shutdown

⏱️ Total chapter time: ~50 min (22 min reading + 28 min lab)

After this chapter, you will be able to: Configure liveness, readiness, and startup probes so Kubernetes knows when your app is healthy, and implement graceful shutdown so pods drain cleanly without dropping requests.

What’s Inside

SectionTopicTime
10.1Why Probes Exist — The Problem They Solve~4 min
10.2Liveness Probes — Restart the Stuck~6 min
10.3Readiness Probes — Control Traffic~5 min
10.4Startup Probes — Slow-Starting Apps~4 min
10.5Graceful Shutdown and preStop Hooks~5 min
10.6🔬 Lab: Probes and Shutdown Drills~28 min

Prerequisites

  • Completed Chapter 3 (Pods) and Chapter 4 (Deployments)
  • minikube status shows Running