Skip to content

Case Studies

Every earlier section teaches one concept at a time. These case studies put several together the way a real production task actually requires — a realistic scenario, real manifests, real kubectl commands, and a failure path with its fix, not just the happy path.

Full Case Studies

  1. Rolling Deployment with Zero Downtime — tuned readiness probes and maxSurge/maxUnavailable, verified with a live request-loss counter
  2. Blue-Green and Canary Releases — a Service-selector cutover and a weighted-Ingress canary, both with a rollback path
  3. Multi-Tenant Namespace Setup — onboarding a new team with ResourceQuota, LimitRange, RBAC, and default-deny NetworkPolicy
  4. Autoscaling Under Load — HPA on CPU and a custom metric during a real traffic spike, tuned to stop flapping
  5. Secrets Rotation — rotating a database credential with no pod ever holding the stale value and no downtime
  6. Debugging a CrashLoopBackOff Incident — a bad deploy, a real incident narrative, and the describe/logs --previous/events trail that finds the root cause

Next

Continue to Troubleshooting.