How to Do Kubernetes Rolling Updates & Rollbacks (Hands-On)
📌 How to Do Kubernetes Rolling Updates & Rollbacks (Hands-On) In this hands-on lecture we master Kubernetes Deployments with real demos: RollingUpdate vs Recreate, pacing with maxSurge/maxUnavailable, clear history with kubernetes.io/change-cause, and safe rollbacks. We upgrade nginx 1.25 → 1.26 → 1.27, verify progress with kubectl rollout, and discuss pause/resume and the zero-downtime caveat. 📂 GitHub Repository All manifests and notes for this lecture: 🔗 https://github.com/CloudWithVarJosh/YouTube-Standalone-Lectures/tree/main/Lectures/06-rolling-updates ▶️ Watch the Full CKA 2025 Playlist https://youtube.com/playlist?list=PLmPit9IIdzwRjqD-l_sZBDdPlcSfKqpAt&si=1JNRkoNa75AOJx0o Kubernetes Projects: https://www.youtube.com/playlist?list=PLmPit9IIdzwSv2zwizysG6OwWUACpQFN0 Join the Channel to show your support: https://www.youtube.com/channel/UCaLKKEjj21ucnOYi45ZHwkw/join 📘 What You’ll Learn How a Deployment manages ReplicaSets and why template changes create a new RS (revisions). RollingUpdate vs Recreate and when each is appropriate. Tuning rollout pace with maxSurge and maxUnavailable; understanding availability vs total pods. Using kubernetes.io/change-cause for human-readable history; why revision numbers alone aren’t enough. Guardrails: minReadySeconds, progressDeadlineSeconds Operating skills: kubectl diff, apply, rollout status/history/undo, pause/resume, and quick verification commands. Zero-downtime caveat: why true zero-downtime also depends on app readiness, state/session handling, and LB draining. ⏰ Timestamps 00:00:00 Introduction & agenda 00:00:54 Deployments 101 + zero-downtime caveat 00:04:42 Hands-on: Rolling updates & rollbacks (nginx v1→v2→v3) 00:28:21 Wrap-up, key takeaways & GitHub notes 🔗 Stay Connected 👉 LinkedIn: https://linkedin.com/in/varun-joshi-2b516752 👉 GitHub: https://github.com/CloudWithVarJosh 💬 Got questions? Drop them in the comments — I reply to every single one. 👍 Like, share, and subscribe to support the channel. 🔖 Hashtags #Kubernetes #RollingUpdate #Deployments #DevOps #CKA2025 #CloudWithVarJosh #K8sHandsOn #ZeroDowntime #KubernetesTutorial #kubectl #ReplicaSet #ChangeCause #Rollback
Download
0 formatsNo download links available.