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

Sdílet
Vložit
  • čas přidán 9. 10. 2023
  • 🔴 - 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/antonputra
    ► 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/antonputra/tutoria...
    #azure #kubernetes #devops
  • Věda a technologie

Komentáře • 52

  • @AntonPutra
    @AntonPutra  Před 9 měsíci +4

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

  • @mhmdbahja
    @mhmdbahja Před 9 měsíci +4

    Incredible work as always. Keep it up!

  • @rnrn7127
    @rnrn7127 Před měsícem +1

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

  • @George-mk7lp
    @George-mk7lp Před 8 měsíci +5

    all your tutorials are truly amazing , no exception.

  • @sombiri9147
    @sombiri9147 Před 9 měsíci +2

    You make look so easy Anton.

  • @diegonayalazo
    @diegonayalazo Před 4 měsíci +1

    thank you Sensei :)

  • @samrybkin9184
    @samrybkin9184 Před 5 měsíci +2

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

  • @diegonayalazo
    @diegonayalazo Před 7 měsíci +1

    Thank you Sensei.

  • @andrewnhien9714
    @andrewnhien9714 Před 7 měsíci +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  Před 7 měsíci

      Thanks! I will in the future!

  • @GabrielPozo
    @GabrielPozo Před 9 měsíci +1

    👏👏👏👏

  • @dennisraborar4040
    @dennisraborar4040 Před 21 dnem

    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 :)

  • @rahulchowdhury279
    @rahulchowdhury279 Před 9 měsíci +4

    Without @Anton Azure will become bankrupt 😂

  • @denistaran
    @denistaran Před měsícem

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

    • @AntonPutra
      @AntonPutra  Před měsícem

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

  • @glebfadeev9782
    @glebfadeev9782 Před 4 měsíci +1

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

    • @AntonPutra
      @AntonPutra  Před 4 měsíci

      spasibo :)

    • @glebfadeev9782
      @glebfadeev9782 Před 4 měsíci

      Привет, подскажи пожалуйста.
      я добавил в твой код 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 Před 4 měsíci

      Привет, подскажи пожалуйста.
      я добавил в твой код 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 Před 3 měsíci

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

    • @glebfadeev9782
      @glebfadeev9782 Před 3 měsíci

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

  • @kayoutube690
    @kayoutube690 Před 9 měsíci +1

  • @phillipgilligan8168
    @phillipgilligan8168 Před 7 měsíci +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  Před 7 měsíci

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

  • @testchannel4695
    @testchannel4695 Před 6 měsíci +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  Před 6 měsíci

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

    • @testchannel4695
      @testchannel4695 Před 6 měsíci

      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  Před 6 měsíci +1

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

    • @testchannel4695
      @testchannel4695 Před 6 měsíci

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

  • @nandkishormetange
    @nandkishormetange Před 4 měsíci

    How to enable virtual node in this code

  • @Michael-wr7gi
    @Michael-wr7gi Před 2 měsíci

    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  Před 2 měsíci

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

  • @dhirajsonawane-oj7xj
    @dhirajsonawane-oj7xj Před 9 měsíci +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 Před 9 měsíci +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  Před 9 měsíci +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 Před 29 dny

    Lets encrypt is safe to use in production?

    • @AntonPutra
      @AntonPutra  Před 29 dny

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

  • @tmtam612
    @tmtam612 Před 5 měsíci

    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  Před 5 měsíci

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