- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Deploy to AKS with Image Promotion and Rollback
In this lab, you'll deploy a containerized application to AKS using an image promotion workflow. You'll promote container images through deployment stages, update the AKS workload, validate rollout health, and execute a rollback when a deployment fails. You'll learn how to manage safe application releases in Kubernetes environments with promotion gates and recovery procedures.
Lab Info
Table of Contents
-
Challenge
Promote the container image through deployment stages
- Promote a tested container image through deployment stages in Azure Container Registry.
- Release it to a running Azure Kubernetes Service (AKS) cluster.
- Confirm the version that is currently running.
- Promote the staged v2.0-staging image to the v2.0 production tag.
- Update the app Deployment to use the promoted image.
-
Challenge
Update and validate the AKS deployment with the promoted image
You'll validate the rolling update to the promoted image. You'll watch the rollout finish, confirm the pods are Running and Ready on v2.0, review the rollout history for the new revision, and verify the app controller is healthy in Azure Monitor.
-
Challenge
Execute a rollback to the previous stable deployment
You'll recover safely by rolling the Deployment back to its last stable version. You'll roll back to the previous revision, watch the rollback complete, confirm the app is serving v1.5 again with all pods Ready, and optionally confirm the recovery in Azure Monitor.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.