How to debug Kubernetes? (Deployments, Services & Ingress)

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ •

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

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

  • @shivamanand8998
    @shivamanand8998 5 місяців тому +3

    With just watching the video for 3 minutes, I was able to debug my issue. Thank you, friend.

  • @mechwarrior83
    @mechwarrior83 8 місяців тому +5

    this info is gold! I will be watching this another 100 times

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

    Thanks!🔥

  • @av1654
    @av1654 4 місяці тому +2

    This has helped me troubleshoot and resolve issues in our k8 environment. Thank you so much and such an amazing delivery 👍

  • @gurudattshanbhag8878
    @gurudattshanbhag8878 5 місяців тому +1

    Great content! Saviour!

  • @Antonio-yy2ec
    @Antonio-yy2ec 8 місяців тому +1

    Great content as always, Anton!!

  • @loknathsingh1080
    @loknathsingh1080 7 місяців тому +2

    One of the best quality content present on UA-cam ❤
    Your tutorials are very useful

  • @bellakhalmohamed3255
    @bellakhalmohamed3255 7 місяців тому +2

    Thanks man been working with k8s 3 years but I learned so much

  • @EdMane
    @EdMane 8 місяців тому +1

    omg this is pure gold! thank you so much!
    I would like to ask a few question if I may.
    I read topologySpreadConstraints is used so our Pods can be spread between AZs evenly. Do I have to declare it inside the kind: Deployment? and If I'm using Karpenter, Does it will deploy a new node on a diferent AZ if the deployment wants another AZ? or does the nodes must exist in all AZs before?
    thanks!!

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

      Thanks! Usually, in the cloud when you create Kubernetes, each node will get an additional label with the availability zone, and you can use node affinity along with pod anti-affinity to spread them between AZs.
      - To find values use "kubectl describe node "
      - For affinity - ua-cam.com/video/rX4v_L0k4Hc/v-deo.html

  • @binarylife1100
    @binarylife1100 6 місяців тому +1

    dope content...senior engineer stuff, Thanks again

  • @sufiyanhabib4431
    @sufiyanhabib4431 6 місяців тому +1

    Very awesome tutorial!!

  • @ИванБижев-х8б
    @ИванБижев-х8б 7 місяців тому

    Hey @AntonPutra, I see that you're using minikube on mac, but afaik ingress, and ingress-dns addons are currently only supported on Linux as docker is not running in the same manner on mac m series as linux. Did you use a qemu driver or something else entirely?

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

      No, it’s standard minikube, I didn’t install anything extra.

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

    Awesome content. I know most of the content in the video watched this as a refresger, however i did not know about the curl commands and it made my life easier.
    It will be really cool if you can create content about Failover scenarios like cluster failover when region failed or multiple cluster microservices communication. I know it is advanced topic but I think it will be helpful.

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

      thanks, i'll see what i can do

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

    We are waiting for the private ingress nginx video with VPN and the private Rout53 or splitdns ^^
    It would be amazing if we included multiple controllers at the same time.
    Can not thank you enough for your amazing priceless content ^^.

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

      Thanks, but I already have a VPN setup that includes pushing private Route53 hosted zones to your laptop. The only missing part is ingress, which is converted from public to private by using a single annotation.
      VPN - github.com/antonputra/tutorials/tree/main/lessons/084
      Private ingress - github.com/antonputra/tutorials/blob/108c009be032f53c1cf9139b808da32e826e7783/lessons/149/terraform/11-internal-ingress-nginx.tf#L13

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

      @@AntonPutra thanks a TON ^^

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

    Thank you, you are awesome!

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

    Excellent video, like always 😊

  • @AntonPutra
    @AntonPutra  20 днів тому

    🍿 Benchmarks: ua-cam.com/play/PLiMWaCMwGJXmcDLvMQeORJ-j_jayKaLVn.html&si=p-UOaVM_6_SFx52H

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

    thank you so much @AntonPutra, you explain that in short and very good way! thanks for your time :-) any videos about how we can install Ingress-Nginx :-)) that would be also good

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

      no problem, here is terraform but you can easily convert it to plain commands, don't forget values - github.com/antonputra/tutorials/blob/108c009be032f53c1cf9139b808da32e826e7783/lessons/177/terraform/7-nginx-ingress.tf#L18-L28
      Another video coming soon in 2-3 days, on installation and debugging ingress with tls and cert-manager.

  • @ZeroReadHQ
    @ZeroReadHQ 12 днів тому +1

    Gold!

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

    Very nice video, thank you!

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

    Excellent explanation and thanks for sharing the valuable info, Can you share how you are creating this slides or which platform your using. its very attractive and I would like to use this method for my customer to explain them the flows and architectures.

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

      thanks! well, i use adobe suite and spend a lot of time animating...

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

      @@AntonPutra Great. thanks for sharing and kudos for your efforts.

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

    Awesome tutorial. Could you please tell about secrets and configs?

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

      Thank you! Sure soon, i was planning a video k8s secrets vs configmap (best practises)

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

    Thank you so much 🙏

  • @harishdevarapalli1537
    @harishdevarapalli1537 8 місяців тому +1

    Thanks sir.!!!

  • @GabrielPozo
    @GabrielPozo 8 місяців тому +1

    Thank you!!!! 👏👏👏

  • @nguyenphu-o5d
    @nguyenphu-o5d 4 місяці тому

    Hi, can I ask how to use nginx ingress if my ingress and my app have different namespaces?

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

      It's a very rare use case. Are you sure you cannot create an ingress in the same namespace? Can you describe your requirements? There are some workarounds with external services, but it's unlikely that you need that.
      kubernetes.io/docs/concepts/services-networking/service/#externalname

    • @nguyenphu-o5d
      @nguyenphu-o5d 4 місяці тому

      @@AntonPutra Thanks, I will tried configure the deployment, ingress and service file into the same namespace where I deploy my app.

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

      @@nguyenphu-o5d Just to clarify, for example, you would deploy your application to the 'staging' namespace and deploy the ingress controller to the 'ingress' namespace. This does not mean that your app must be deployed in the 'ingress' namespace. That namespace is only for the controller itself. Instead, you would create an 'Ingress' object in the 'staging' namespace. Ingress object example - github.com/antonputra/tutorials/blob/main/lessons/194/1-example/3-ingress.yaml#L3
      On line 5 you would have 'staging' namespace.

    • @nguyenphu-o5d
      @nguyenphu-o5d 4 місяці тому

      @@AntonPutra tks, I have figured out the issue, it was between my service and my custom nginx-ingress. Can I use minikube or microk8s with nginx plus?

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

      @@nguyenphu-o5d well you can just deploy it using helm chart or yaml, don't use "minikube addons enable ingress"

  • @AcessHall
    @AcessHall 8 місяців тому +1

    Thank you

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

  • @ShourovRoy-pk5zm
    @ShourovRoy-pk5zm 7 місяців тому +1

    Can you please make a video on mongodb replicaset with authentication and external access from k8s.
    Please 🙏

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

      Ok, i think it's time to refresh the previous tutorial

    • @ShourovRoy-pk5zm
      @ShourovRoy-pk5zm 7 місяців тому

      ​@@AntonPutra thank you for your kind reply. The mongodb auth us working without replicaset of mongodb and replicaset is working without auth.
      As transaction only supports when mongodb has the following command "--replSet"
      Didn't get any solution anywhere. Everywhere is helm. But need to learn it using k8s only. Please.

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

      @@ShourovRoy-pk5zm there should be community k8s operator, have you tried thaty?

    • @ShourovRoy-pk5zm
      @ShourovRoy-pk5zm 7 місяців тому

      @@AntonPutra they are using helm. Can't we achieve it using raw k8s ymls.?

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

      @@ShourovRoy-pk5zm you can, but it'll take me while to create tutorial

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

    Great video! +1 like +1 subcribe