Deploy, Scale, and Roll Out a New Image on AKS
Advanced · 30 minutes · 4 tasks, checked automatically · 100 points
In this advanced hands-on lab you will interact with a local AKS emulator to perform the full lifecycle of a Kubernetes workload: create a cluster, deploy an application using a Deployment and expose it via a Service, scale the Deployment horizontally, and finally perform a rolling update to a new container image. All commands run inside the toolbox container against the local emulator on port 4577 — no real Azure account or billing is involved.
What you’ll learn
- Provision a local AKS cluster and obtain its credentials using the az CLI against the emulator
- Create a Kubernetes Deployment and ClusterIP Service for a sample workload, then verify pod readiness
- Scale the Deployment to multiple replicas and perform a rolling image update, confirming the rollout status
How this lab works
- Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: An emulated cloud on your computer: no cloud account, no bill
- Cloud: AZURE
- Services: AKS, Container Registry
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A Azure sandbox created in the Local Cloud Playground
Topics: aks, kubernetes, deployment, scaling, rolling-update, azure, containers, local-cloud
Create a free account to start this lab.
Keep going
- GKE Workload Deployment: Deploy, Expose, Scale, and Roll Out
- Deploy, Scale, and Roll Out Updates on OKE
- Deploy and Rolling-Update a Workload on EKS
- Compose Multi-Stack CloudFormation with Exports, Imports and Nested Stacks
- Incident Response: Contain a Leaked IAM Access Key
- Provision S3 and DynamoDB from a Single CloudFormation Stack