Войти
  • 223Просмотров
  • 4 недели назадОпубликованоDevOps Tech

Kubernetes Day 8 | Deployment Explained Step-by-Step | Rollout, Rollback, Scaling & CKA Practice

Welcome back to the Kubernetes playlist! In Day 8, we dive into one of the most important Kubernetes objects — Deployments. In this video, you will learn: 🚀 What is a Deployment in Kubernetes? Why we don’t deploy Pods, RCs, or ReplicaSets directly How Deployment manages rollout, rollback, and scaling How Deployment creates and manages ReplicaSets 🧩 Deployment Manifest Explained We explore all key sections: apiVersion: apps/v1 kind: Deployment metadata (name, labels) spec (replicas, template, selector) Pod template with container name, image & port You will also see how I deploy a Django application (sehsolutions) using different versions of the Docker image to demonstrate rollout and rollback. 🛠️ Hands-on Commands Covered Creating Deployments Updating the image to roll out a new version Watching Pods with kubectl get pods -w Rolling back to the previous version Scaling replicas Port-forwarding Pods Using kubectl apply vs kubectl create How selectors match Pods, similar to ReplicaSets 🎯 CKA Practice Questions We solve real certification-style tasks: Scale an existing Deployment Update container image version Validate rollout history Autoscale Deployment using HPA 🌐 Topics Covered in This Video ✔ What is a Deployment? ✔ Deployment YAML walkthrough ✔ Labels & selectors ✔ Rollout & rollback with live demo ✔ Deployment → ReplicaSet → Pods ✔ Port forwarding ✔ HPA (Horizontal Pod Autoscaler) ✔ CKA exam-style questions 📌 Repo Link (Will be added in comments) 💬 If you have any issues with Kubernetes, feel free to reach out. 👍 Please Like, Share & Subscribe to support the channel! Next video: Kubernetes Services & Types — stay tuned! #kubernetes #k8s #devops #cka #ckad #kubernetesdeployment #kubernetestutorial #cloudnative #containers #devopsengineer #yaml #microservices #devopstraining #kubernetesforbeginners #learnkubernetes