Showing posts with label Azure EKS. Show all posts
Showing posts with label Azure EKS. Show all posts

Monday, September 14, 2020

Deploying dockerized .net microservice to Kubernetes cluster using Azure DevOps YAML pipeline

In my previous blog

I created the Azure Container Registry and Kubernetes cluster using Terraform and Azure DevOps. I would encourage you to read my previous blog first before reading this.

In this blog, I will show you how to import a docker image into the Azure Container registry and deploy the application in the Kubernetes cluster using the Azure DevOps YAML pipeline. The complete architectural flow is as below:

Sunday, September 13, 2020

Creating Kubernetes cluster with Azure Devops and terraform

 In this blog, we will look at how to create infrastructure in Azure using Terraform in a deployment pipeline using Azure. Terraform is an open-source tool for building, changing, and versioning infrastructure safely and efficiently.

I will guide you through the process of creating a Kubernetes cluster on Azure using Terraform and Azure DevOps.  There is quite a bit of moving parts to configure and run through a series of steps to make it work. We will go step by step to perform a list of activities as below:

  • Creating Service Principal and Client Secret using Azure CLI.
  • Creating ssh key which can be used to pass through the terraform, and terraform will pass through that to AKS and we can use that to access the machines running on the Kubernetes.
  • Running Bash script to create Azure Storage and Azure Vault.
  • Creating the Azure DevOps pipeline to deploy ACR and Kubernetes cluster using terraform configuration files.