Загрузка...

Day 51: Execute Rolling Updates in Kubernetes

☸️ Day 51: Execute Rolling Updates in Kubernetes | 100 Days of DevOps

Welcome to Day 51 of the 100 Days of DevOps series! In this lab, you’ll learn how to perform a Rolling Update in Kubernetes by updating an existing deployment to a newer container image version without downtime.

📌 Lab Objective:
Update the existing Kubernetes deployment to use the nginx:1.19 image and ensure all pods remain healthy during the rollout.

🛠️ Task Requirements:

Deployment Name: nginx-deployment
New Image: nginx:1.19
Ensure all updated pods are running successfully

💻 Using kubectl:

🔹 1. Check Existing Deployment

kubectl get deployments

🔹 2. Update Deployment Image

kubectl set image deployment/nginx-deployment \
nginx-container=nginx:1.19

🔹 3. Verify Rolling Update Status

kubectl rollout status deployment/nginx-deployment

🔹 4. Verify Running Pods

kubectl get pods

👉 All pods should be in Running state

🔹 5. Verify Updated Image

kubectl describe deployment nginx-deployment

👉 Confirm image version is nginx:1.19

📚 What You’ll Learn:

Kubernetes rolling update strategy
Updating deployment container images
Zero-downtime application deployment
Monitoring rollout status
Verifying Kubernetes pod health

🌟 Why This Lab Matters:
Rolling updates are one of Kubernetes’ most powerful features, allowing production applications to be updated gradually without service interruption or downtime.

🎯 Series: 100 Days of DevOps
Master Kubernetes and cloud-native deployment strategies through practical hands-on labs.

🔔 Follow OtterTech for more Kubernetes, Docker, AWS, Azure, Linux, and DevOps tutorials!

#Kubernetes #K8s #RollingUpdate #Nginx #Containers #CloudNative #DevOps #Kubectl #Docker #100DaysOfDevOps #OtterTech #Day51

Видео Day 51: Execute Rolling Updates in Kubernetes канала Otter Tech
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять