What should you use to perform the deployments?

You create an Azure Kubernetes Service (AKS) duster and an Azure Container Registry.

You need to perform continuous deployments of a containerized application to the AKS cluster as soon as the image updates in the registry.

What should you use to perform the deployments?
A . an Azure Pipelines release pipeline
B . an Azure Automation runbook
C . an Azure Resource Manager template
D . a kubectl script from a CRON job

Answer: A

Explanation:

You can implement a Continuous Deployment pipeline.

Example:

What the pipeline accomplishes:

Stage 1: The code gets pushed in the Github. The Jenkins job gets triggered automatically.

The Dockerfile is checked out from Github.

Stage 2: Docker builds an image from the Dockerfile and then the image is tagged with the build number. Additionally, the latest tag is also attached to the image for the containers to use.

Stage 3: We have default deployment and service YAML files stored on the Jenkins server. Jenkins makes a copy of the default YAML files, make the necessary changes according to the build and put them in a separate folder.

Stage 4: kubectl was initially configured at the time of setting up AKS on the Jenkins server. The YAML files are fed to the kubectl util which in turn creates pods and services.

Reference: https://medium.com/velotio-perspectives/continuous-deployment-with-azure-kubernetes-service-azure-container-registry-jenkins-ca337940151b

Latest AZ-303 Dumps Valid Version with 206 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments