- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Deploy Applications to Azure Kubernetes Service (AKS)
In this lab, you will be using an existing Azure Kubernetes Service (AKS) managed cluster. You will learn how to easily create a containerized application, push it to a container registry attached to the AKS cluster, and deploy the application to the cluster. For this lab, you should have a basic understanding of Containers and Kubernetes.

Lab Info
Table of Contents
-
Challenge
Create Your Application
- Clone the working files from the following Github repository:
https://github.com/pluralsight-cloud/aks-deploy-applications-lab.git
- Clone the working files from the following Github repository:
-
Challenge
Build and Push your Container Image to Azure Container Registry
-
Build the application using the Dockerfile in the cloned repository.
-
Push the container image to the provided Azure Container Registry, using the name myapp and the tag latest
Tip: You can save the name of the container registry to a variable named ACR using the following command:
ACR=$(az acr list --query [].name --output tsv)
-
-
Challenge
Deploy Your Application to the Cluster
-
Update the placeholder values in the myapp-deployment.yaml deployment manifest with the unique name of your Azure Container Registry.
-
Deploy your application using the provided Kubernetes deployment manifest named: myapp-deployment.yaml
-
Deploy a service to expose your application using the proivided Kubernetes service manifest named: myapp-service.yaml
Tip: You can save the name of your resource group and AKS cluster variables named RG and AKS respectively using the following command:
RG=$(az group list --query [].name --output tsv) AKS=$(az aks list --query [].name --output tsv)
-
-
Challenge
Test Your Application
- Test your application by accessing it using HTTP using the IP address of the Kubernetes service.
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.