Saturday, March 18, 2023

How to Automate AKS cluster creation using Terraform and Azure DevOps | Create AKS Cluster using Terraform

How to Automate AKS cluster using Terraform and Azure Pipelines


What is Azure Kubernetes Service (AKS)

Azure Kubernetes Service (AKS) is a managed container orchestration service, based on the open source Kubernetes system, which is available on the Microsoft Azure public cloud. AKS allows you to quickly deploy a production ready Kubernetes cluster in Azure, deploy and manage containerized applications more easily with a fully managed Kubernetes service. We will see how to create AKS cluster in Azure cloud using Terraform.

AKS cluster can be created by many ways as mentioned below:

1. Create AKS cluster in Azure portal directly

2. Create AKS cluster using Azure CLI

3. Create AKS cluster using Terraform. 

Creating an AKS resource with Terraform is incredibly easy, it only requires a single resource azurerm_kubernetes_cluster and in this post, we are going to walk through the necessary steps to create this with Terraform. We will create ACR and create a role with ACRpull assignment as well

Pre-requisites:

No comments:

Post a Comment

How to Automate AKS cluster creation using Terraform and Azure DevOps | Create AKS Cluster using Terraform

How to Automate AKS cluster using Terraform and Azure Pipelines What is Azure Kubernetes Service (AKS) Azure Kubernetes Service (AKS) is a m...