Break it on purpose, learn how it heals.
Exercises I run on a local three-node cluster to understand how Kubernetes behaves when things change or fail. Watch them below, or run them yourself: every exercise has manifests and step-by-step instructions on GitHub.
Run them yourself
Each one runs on a local kind cluster (one control plane, three workers) and takes about ten minutes.
Scaling and scheduling
Scale a deployment from 3 to 6 and watch the scheduler spread pods across nodes using topology spread constraints.
kubectl scale deploy/web --replicas=6
02Draining a node safely
Cordon and drain a worker for maintenance, with a PodDisruptionBudget keeping enough replicas up.
kubectl drain lab-worker2 --ignore-daemonsets
03Zero-downtime rolling update
Roll out v2 with maxSurge: 1 and maxUnavailable: 0, gated by a readiness probe, then roll back.
kubectl rollout undo deploy/web
04Debugging a CrashLoopBackOff
Deploy a release with a missing environment variable, find the cause from previous-container logs, and recover.
kubectl logs <pod> --previous
What happens when I push to main?
The pipeline shape I use for EKS workloads: commit, build, test, scan, push, deploy. Watch a clean release, a release blocked by a security scan, and a bad release rolled back through Git.