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.
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
NGINXpublic Docker Hub image.
- Include resource minimum and maximum limits.
- Access the Application Externally
- Add a
LoadBalancerservice to generate an external IP. The service can be added in the Azure Portal, or with the Azure Cloud Shell using the
kubectlcommand line tool.
- Confirm access to the application using the external IP.
- Add a