You are responsible for deploying a Python app to AKS. You have the code and a pipeline template, and you must create a CI/CD pipeline in Azure DevOps.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create an Azure DevOps Organization
- Log in to the Azure portal using the provided credentials.
- Search for Azure DevOps from the Services menu.
- Create a new organization and project named MyFirstProject.
- Import Code and Setup Environment
- Import the code from this GitHub repository.
- Go to Pipelines > Environments to make Azure DevOps aware of your AKS cluster.
- Create an Azure Container Registry (ACR) with the premium SKU and admin enabled.
- Create a service connection for the ACR in Azure DevOps.
- Create the CI/CD Pipeline
- Modify the manifest to change the
azure-vote-front
container image location. - Create a new pipeline from the code in Azure Repos.
- Select an existing YAML from the repository.
- Modify the pipline YAML to include your ACR DNS name.
- Modify the manifest to change the
- Access the AKS Cluster
- Access the AKS cluster from Cloud Shell using the command
az aks get-credentials
. - List the Kubernetes services.
- Copy the
External-IP
from theazure-vote-front
service into a new browser tab. - Vote for Dogs or Cats.
- Access the AKS cluster from Cloud Shell using the command