Azure Kubernetes Service (AKS) Tutorial: (Terraform - Nginx Ingress & TLS - OIDC Workload Identity)

Поділитися
Вставка
  • Опубліковано 4 жов 2024
  • 🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
    ▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
    ► I’m a Senior Software Engineer at Juniper Networks (12+ years of experience)
    ► Located in San Francisco Bay Area, CA (US citizen)
    ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
    ► LinkedIn: / anton-putra
    ► Twitter/X: / antonvputra
    ► GitHub: github.com/ant...
    ► Email: me@antonputra.com
    ▬▬▬▬▬▬ Related videos 👨‍🏫 ▬▬▬▬▬▬
    👉 [Playlist] Kubernetes Tutorials: • Kubernetes Tutorials
    👉 [Playlist] Terraform Tutorials: • Terraform Tutorials fo...
    👉 [Playlist] Network Tutorials: • Network Tutorials
    👉 [Playlist] Apache Kafka Tutorials: • Apache Kafka Tutorials
    👉 [Playlist] Performance Benchmarks: • Performance Benchmarks
    👉 [Playlist] Database Tutorials: • Database Tutorials
    ▬▬▬▬▬▬▬ Source Code 📚 ▬▬▬▬▬▬▬
    ► GitHub: github.com/ant...
    #azure #kubernetes #devops

КОМЕНТАРІ • 58

  • @AntonPutra
    @AntonPutra  Рік тому +4

    🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com

  • @George-mk7lp
    @George-mk7lp 11 місяців тому +6

    all your tutorials are truly amazing , no exception.

  • @malkiatsingh4112
    @malkiatsingh4112 Місяць тому

    thank you, man!!! you make it so simple to easy understand. Keep it up man!!

  • @mhmdbahja
    @mhmdbahja Рік тому +4

    Incredible work as always. Keep it up!

  • @sombiri9147
    @sombiri9147 Рік тому +2

    You make look so easy Anton.

  • @rnrn7127
    @rnrn7127 4 місяці тому +1

    thank you, man!
    you really are on a different level!
    keep up the good work!

  • @sammygun84
    @sammygun84 8 місяців тому +2

    Спасибо Антон было очень интересно!

  • @andrewnhien9714
    @andrewnhien9714 10 місяців тому +1

    Like the way you explain concept in Azure by compare with AWS, thank you so much. Please make more video about Azure and Azure IOT if can 🎉❤

    • @AntonPutra
      @AntonPutra  10 місяців тому

      Thanks! I will in the future!

  • @diegonayalazo
    @diegonayalazo 6 місяців тому +2

    thank you Sensei :)

  • @rahulchowdhury279
    @rahulchowdhury279 Рік тому +4

    Without @Anton Azure will become bankrupt 😂

  • @jlpcpr
    @jlpcpr Місяць тому

    Hi! You should use the timecode stamps to easily break the sections in the progress bar.

    • @AntonPutra
      @AntonPutra  Місяць тому

      noted, i use in most videos but probably forgot to include them here

  • @dennisraborar4040
    @dennisraborar4040 3 місяці тому

    God bless you more brother. This tutorial is excellent for all beginners like me. If possible, can you also create a video for terragrunt Azure version with AKS cluster :)

    • @AntonPutra
      @AntonPutra  3 місяці тому

      Thank you! I'll think about it

  • @diegonayalazo
    @diegonayalazo 10 місяців тому +1

    Thank you Sensei.

  • @glebfadeev9782
    @glebfadeev9782 7 місяців тому +1

    Лучший туториал евер

    • @AntonPutra
      @AntonPutra  7 місяців тому

      spasibo :)

    • @glebfadeev9782
      @glebfadeev9782 6 місяців тому

      Привет, подскажи пожалуйста.
      я добавил в твой код aks .tf следующее
      key_vault_secrets_provider {
      secret_rotation_enabled = true
      }
      как я понял Надстройка создает управляемое удостоверение.
      как я могу получить object_id этого удостоверения (managed indentity), чтобы добавить к azurerm_key_vault
      access_policy {
      tenant_id = data.azurerm_client_config.current.tenant_id
      object_id = тут этот object_id
      key_permissions = [
      "Get",
      ]
      secret_permissions = [
      "Get",
      ]
      storage_permissions = [
      "Get",
      ]
      }
      просто по умолчанию этот managed indentity не имеет доступ к azurer_key_vault. Я конечно могу вручную дать доступ и все работает, но хотелось бы через terraform
      Помоги пожалуйста)@@AntonPutra

    • @glebfadeev9782
      @glebfadeev9782 6 місяців тому

      Привет, подскажи пожалуйста.
      я добавил в твой код aks следующее
      key_vault_secrets_provider
      secret_rotation_enabled = true
      как я понял Надстройка создает управляемое удостоверение.
      как я могу получить object_id этого удостоверения (managed indentity), чтобы добавить к azurerm_key_vault , access_policy
      просто по умолчанию этот managed indentity не имеет доступ к azurer_key_vault. Я конечно могу вручную дать доступ и все работает, но хотелось бы через terraform
      Помоги пожалуйста)
      ​@@AntonPutra

    • @glebfadeev9782
      @glebfadeev9782 6 місяців тому

      ​@@AntonPutra
      Привет. Подскажи пожалуйста.
      Как получить айдентиту которую azure создает автоматически в терраформ?
      Я, получается, добавил в aks файл аддон на key_vault_secrets_provider
      У меня создалась Managed Identity, но она какая то фантомная, я не могу найти ее objectId, чтобы дать ей доступ Get к Azure KeyVault

    • @glebfadeev9782
      @glebfadeev9782 6 місяців тому

      То есть я могу зайти на портал, найти objectId этой Айдентити и дать досутп в ручную. Но я подумал может быть есть способ через terraform. В интренетах ничего нет на эту тему

  • @mzw8374
    @mzw8374 Місяць тому +1

    Hello, nice tutorial bro. A question: How if we don't want to use spot instances and not free tier as well? What should we add/remove on the script?

    • @AntonPutra
      @AntonPutra  Місяць тому +1

      thank you, just noticed your comment.. you need to update this line - github.com/antonputra/tutorials/blob/main/lessons/177/terraform/6-node-groups.tf#L7
      and set it to "Regular"
      here is official docs for that resource - registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster_node_pool#priority

  • @phillipgilligan8168
    @phillipgilligan8168 10 місяців тому +1

    Thanks Anton, very informative and to the point and your teaching style is fantastic. Have you considered doing Udemy courses? If you already have some, could you point me to where? If not, you really should man, you’re awesome.

    • @AntonPutra
      @AntonPutra  10 місяців тому

      Thank you! Not yet, still have a full time job.

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

    👏👏👏👏

  • @denistaran
    @denistaran 4 місяці тому

    AKS provides a more intuitive and straightforward configuration process than AWS EKS.

    • @AntonPutra
      @AntonPutra  4 місяці тому

      Azure more on the PaaS side (platform as a service - higher level) when AWS is more infra as service (low level)

  • @testchannel4695
    @testchannel4695 9 місяців тому +1

    Amazing tutorial, full of value - I'm genuinely impressed this is free on the internet, so thanks a lot. A quick question: If I run a basic .NET 8 web app, do I need to configure it to run on HTTPS before I can use the cert-manager thing on it? I currently get status code 502 when I try to access the ingress, which calls the service which calls my pod. Cheers!

    • @AntonPutra
      @AntonPutra  9 місяців тому

      Thank you! No you just need to use plain HTTP protocol, ingress will terminate TLS and route HTTP to your app.

    • @testchannel4695
      @testchannel4695 9 місяців тому

      Or should I start the 4-example from scratch directly with my app in the deployment (aka I do not start with the echo-server and then to change with my app).

    • @AntonPutra
      @AntonPutra  9 місяців тому +1

      @@testchannel4695 yes, but you still need this - github.com/antonputra/tutorials/blob/main/lessons/177/terraform/8-cert-manager.tf

    • @testchannel4695
      @testchannel4695 9 місяців тому

      @@AntonPutraI tried it both from scratch (directly with my image, not the echo-server), but it doesn't work - I still get the 502 when I try to access my app over HTTPS...

  • @dhirajsonawane-oj7xj
    @dhirajsonawane-oj7xj 11 місяців тому +1

    How did you do this, everytime you put something i learn something nee from it. Thanks and keep doing this🎉

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

    Anton, how did you become such smart DevOps? I heard it's hell hard. Can you compare this skill to frontend skill? What is harder?

    • @AntonPutra
      @AntonPutra  Рік тому +3

      First of all, you need to learn the basics, such as networking, Linux, etc., and then just keep up to date with current technologies. I know that you guys have hundreds of different JavaScript frameworks as well :)

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

  • @Michael-wr7gi
    @Michael-wr7gi 5 місяців тому

    Anton, how important is setting up vNets/VPCs? Can you work without them i.e at a startup, or would this result in a lot of 'technical debt' following on?

    • @AntonPutra
      @AntonPutra  5 місяців тому

      well unless you fully use serverless functions, you need to setup vnet yourself. it's not very complicated.

  • @bandwidthbucks
    @bandwidthbucks 7 місяців тому

    How to enable virtual node in this code

  • @kayoutube690
    @kayoutube690 3 місяці тому

    Lets encrypt is safe to use in production?

    • @AntonPutra
      @AntonPutra  3 місяці тому

      yes, i've been using letsencrypt for the last 3 years

  • @tmtam612
    @tmtam612 8 місяців тому

    when I did the example 3, it returned "Error code explanation: 404 - Nothing matches the given URI.". Do I need to add anything? please help

    • @AntonPutra
      @AntonPutra  8 місяців тому

      sorry, it's too generic. Make sure that load balancer is created and ingress is properly configured