How it works...

This recipe showed you how to quickly create an Azure DevOps CI/CD pipeline using a demo application running on an AKS cluster.

In the Deploying changes to an AKS cluster recipe, after step 9, while we build the job, Azure Pipelines will create your pipeline. It will create the following two stages:

  1. In stage 1, which is the Build Stage, it creates a Docker image and pushes images into your Azure Container Registry. When it is successful, you can find the new image stored in your existing registry in Azure portal. As an example, the following screenshot shows the image that was created as a result of my pipeline under the Azure Container Registry and its details:

  1. In stage 2, which is the Deploy stage, it creates the image pull secrets to access your registry and rolls out your application as a deployment.

The application will be deployed into the namespace you specified during the pipeline creation.

Later, you can create multiple environments that can be used for the different stages (preview, staging, and production) of your application and change where your application needs to be deployed in the pipelines.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.217.220