How to create AKS Cluster using Terraform | Setup Azure Kubernetes Cluster(AKS) in Azure Cloud

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • www.coachdevop...
    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.
    Pre-requistes:
    Terraform is installed on your machine.
    Account setup in Azure.
    Kubectl is installed on your machine
    Azure cli is installed

КОМЕНТАРІ • 28

  • @c2cgce320
    @c2cgce320 Рік тому +1

    Hello sir , This is awesome tutorial... This is what I was looking for as I am a beginner to Terraform... Thank you so much sir ☺

  • @holiodin1763
    @holiodin1763 Рік тому +1

    Thank you so much , sir can create a lecture series on Devops project like which contains everything

    • @DevOpsCoach
      @DevOpsCoach  Рік тому +1

      check all my playlists --> www.youtube.com/@DevOpsCoach/playlists

  • @BharatSingh-hf1yt
    @BharatSingh-hf1yt 2 роки тому +3

    amazing video
    really loved the content
    thank you so much

  • @noshinkashmiri1382
    @noshinkashmiri1382 2 роки тому +2

    Wow , thanks for the content 🎉🎉👍

  • @balabhaskararaoguntupalli1275
    @balabhaskararaoguntupalli1275 2 роки тому +1

    Thank you very much

  • @KiranKumar-jm6kk
    @KiranKumar-jm6kk Рік тому

    why we are not declaring the min and max pods count? And how to define the cpu usage per pod?

  • @arnavranjan5606
    @arnavranjan5606 Рік тому

    Okay if you have time another quick question, since I am new to all this any idea why its creating two resource groups? I only want one to be created which contains all the things like identity, Load balancer etc should be in the same resource group. Any idea what part of code do I need to change for that to happen?

  • @Change765
    @Change765 Рік тому +1

    Hello sir,
    Question do you need acr for this ? What if I don’t use acr yet. Can I skip that part.

    • @DevOpsCoach
      @DevOpsCoach  Рік тому +1

      Yes, ACR is needed for storing docker images

  • @arnavranjan5606
    @arnavranjan5606 Рік тому +1

    everything worked perfectly except me accessing my cluster, any idea what all do I need to check my containers? when I tyope kubectl get nodes I get an error saying unable to connect to the server : EOF please advise

    • @DevOpsCoach
      @DevOpsCoach  Рік тому +1

      To Connect to the cluster, try sample command with your values
      az aks get-credentials --resource-group myResourceGroup --name myAKSCluster --overwrite-existing

    • @arnavranjan5606
      @arnavranjan5606 Рік тому

      @@DevOpsCoach worked perfectly.
      I just am getting an invalid image error now, I think this is due to the code being changed because in the video its a bit different than what it is in git. I'll try to make some changes to the yaml and try

  • @user-th1nz7qe8h
    @user-th1nz7qe8h Рік тому

    when ever i try to plan or apply it is asking var.acr_name enter value .. how to automate this?

  • @Nanithiru925
    @Nanithiru925 2 роки тому +1

    Amazing video, need aks cluster deploy in existing network, any idea about this

    • @DevOpsCoach
      @DevOpsCoach  2 роки тому

      stackoverflow.com/questions/70311005/attach-an-aks-cluster-to-an-existing-vnet-using-terraform

  • @chandrakiran7105
    @chandrakiran7105 Рік тому

    Hello can get script for Elastic Search cluster & Kibana (Self managed)

  • @ThanhNguyenVan-ss7yy
    @ThanhNguyenVan-ss7yy 2 роки тому

    hi
    seem you did not define VPC and Subnet for AKS cluster?

    • @DevOpsCoach
      @DevOpsCoach  2 роки тому +1

      we don't have to explicitly create them, it will be created internally by Terraform

  • @Nanithiru925
    @Nanithiru925 2 роки тому +1

    Hii sir

  • @kashifaliuk
    @kashifaliuk Рік тому

    hello, where do I get this value from principal_id = azurerm_kubernetes_cluster.aks.kubelet_identity.0.object_id

    • @user-ew5sx5kd1q
      @user-ew5sx5kd1q 7 місяців тому

      hi kashifa , copy the same command but in place of aks replace with the actual name of your aks cluster 🙂