- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Build and Validate an AKS Baseline Cluster
In this lab, you'll build and validate an AKS baseline cluster with production-ready configurations. You will create an AKS cluster with a managed identity, define node pools, establish the required network context, and integrate a container registry to deploy workloads. You will deploy a validation workload and verify that nodes, system workloads, application pods, and the application endpoint all reach the expected operational state. When you're finished, you will have demonstrated practical AKS configuration decisions and gained hands-on fluency with baseline cluster operations.
Lab Info
Table of Contents
-
Challenge
Access Azure Cloud Shell
A. Open Azure Cloud Shell in Bash mode and verify that the Azure CLI and kubectl are available.
B. Define environment variables for the resource group, cluster, registry, and region.
-
Challenge
Create an AKS Cluster with Managed Identity, Node Pool, and Network Context
A. Provision an AKS cluster with a system-assigned managed identity, a two-node pool, and Azure CNI.
B. Retrieve cluster credentials and confirm all nodes reach the Ready state.
-
Challenge
Attach Azure Container Registry and Enable Monitoring
A. Create an ACR, import a validation image, and create a Kubernetes pull secret for registry authentication.
B. Create a Log Analytics workspace, enable Container Insights, and verify the monitoring agent pods are running.
-
Challenge
Deploy a Validation Workload
A. Write a combined Deployment and LoadBalancer Service manifest referencing the ACR image with an imagePullSecret.
B. Apply the manifest and confirm all replicas roll out successfully.
-
Challenge
Verify the Cluster Reaches Expected Operational State
A. Confirm nodes, system pods, and application pods are healthy and running.
B. Retrieve the LoadBalancer external IP and verify the application endpoint returns a valid response.
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.