You need to deploy App1 to Cluster1. What should you do first?

August 21, 2021 by Admin

You create the following resources in an Azure subscription:

– An Azure Container Registry instance named Registry1
– An Azure Kubernetes Service (AKS) cluster named Cluster1

You create a container image named App1 on your administrative workstation.

You need to deploy App1 to Cluster1.

What should you do first?

  • Run the docker push command.
  • Create an App Service plan.
  • Run the az acr build command.
  • Run the az aks create command.
Explanation:
You should sign in and push a container image to Container Registry.
Run the az acr build command to build and push the container image.

az acr build \
–image contoso-website \
–registry $ACR_NAME \
–file Dockerfile .

Leave a Reply