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

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 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 2 ปีที่แล้ว +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 ☺

    • @DevOpsCoach
      @DevOpsCoach  2 ปีที่แล้ว

      You are most welcome

  • @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 3 ปีที่แล้ว +3

    amazing video
    really loved the content
    thank you so much

    • @DevOpsCoach
      @DevOpsCoach  3 ปีที่แล้ว

      Glad you liked it Bharat

  • @noshinkashmiri1382
    @noshinkashmiri1382 3 ปีที่แล้ว +2

    Wow , thanks for the content 🎉🎉👍

  • @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

  • @balabhaskararaoguntupalli1275
    @balabhaskararaoguntupalli1275 2 ปีที่แล้ว +1

    Thank you very much

  • @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

  • @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 ปีที่แล้ว +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

  • @Mohammed3SiGTB
    @Mohammed3SiGTB ปีที่แล้ว

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

  • @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?

  • @chandrakiran7105
    @chandrakiran7105 2 ปีที่แล้ว

    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

    • @syedomar-k5t
      @syedomar-k5t 9 หลายเดือนก่อน

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