In this lab, you will be creating a Kubernetes cluster using Azure Kubernetes Service (AKS). You will create the cluster through Azure Cloud Shell.
You will learn how to easily create a cluster with just a few commands.
Understanding how to create your cluster through the command line will give you the advantage of having granular control over your cluster and understanding exactly whats going on under the hood.
For this lab, you should have a basic understanding of Kubernetes. This way, you have the basic knowledge and skills to comprehend what you will be achieving in this lab.
Successfully complete this lab by achieving the following learning objectives:
- Create an AKS Cluster
Create a two-node cluster in the
East USregion using the Azure portal.
- Configure Autoscaling
Configure the node pool to have a minimum of
2and maximum of
4nodes with Autoscale enabled.
- Deploy the Test Application
- Launch Azure Cloud Shell.
- Paste the provided YAML code into the deployment file for the application.
- Deploy the app through Cloud Shell.
- Test the Cluster
Use the DNS name of the service load balancer to test the cluster and see if the app works!