- A Cloud Guru
Deploying a Kubernetes Cluster Using Azure Kubernetes Service
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.
Table of Contents
Create an AKS Cluster
Create a two-node cluster in the
East USregion using the Azure portal.
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.
Configure the node pool to have a minimum of
2and maximum of
4nodes with Autoscale enabled.
Test the Cluster
Use the DNS name of the service load balancer to test the cluster and see if the app works!
What's a lab?
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.