In this lab, we will work with the Azure Command Line Interface (CLI) to create an AKS cluster. We will then use the kubectl command line utility to deploy an application to that cluster, and then add a kubernetes service, so that the application is accessible over the internet.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create AKS Cluster
- Create just the cluster, without any integrations with Azure Monitor, or Azure Policy.
- You can use either the provided Service principal or a System-assigned managed identity.
- The cluster can be created with the Azure Portal, CLI, PowerShell, or ARM template.
- Deploy the Application
- Create a deployment to include two replicas of the application. The deployment can be applied in the Azure Portal or with the Azure Cloud Shell.
- The application should use the
NGINX
public Docker Hub image. - Include resource minimum and maximum limits.
- Access the Application Externally
- Add a
LoadBalancer
service to generate an external IP. The service can be added in the Azure Portal, or with the Azure Cloud Shell using thekubectl
command line tool. - Confirm access to the application using the external IP.
- Add a