00 /What You Will Learn
By the end you will be able to
- Execute a zero-downtime RollingUpdate with maxUnavailable: 0 and maxSurge: 1.
- Observe how Readiness probes prevent premature traffic cutover to unready pods during upgrades.
- Witness how Kubernetes automatically stalls a broken deployment without terminating healthy replicas.
- Revert a broken rollout instantly to the previous stable revision using kubectl rollout undo.
- Configure SIGTERM handling and terminationGracePeriodSeconds to achieve graceful connection draining.
Before you start
Finish Lab 62 (Readiness, Liveness and Startup Probes) first. You should understand how probes gate traffic in the endpoints controller. Give Docker at least 4 GB of memory, and make sure kind and kubectl are installed.