Advanced Scheduling in Kubernetes

Поделиться
HTML-код
  • Опубликовано: 20 июн 2024
  • #kubernetes #scheduling #devops #fullstackdevelopment
    In the Kubernetes Architecture chapter of this series, we’ve learned that Kubernetes scheduler is responsible for scheduling pods onto nodes. But how does scheduler picks up the best node suitable for our pod? And is it possible to customize this behavior? In this section, we’ll learn how Kubernetes scheduler works, and also we’ll learn how we can customize this behavior using:
    1. nodeName
    2. nodeSelector
    3. Affinity
    4. Taints and Tolerations
    And needless to say, we'll learn everything with complete Hands-on!
    Manifests: github.com/pelthepu/Kubernete...
    Please give a Like and Subscribe - bit.ly/pavanelthepu
    Timestamps:
    0:00 - Intro
    01:05 - How Scheduler Works?
    02:44 - nodeName
    04:23 - nodeSelector
    12:38 - nodeAffinity
    16:17 - podAffinity
    19:13 - Taints and Tolerations
    19:13 - Summary
    My other courses:
    Docker Complete Course: • Docker Tutorial | Ful...
    Thank you very much!

Комментарии • 57

  • @rajibgr9104
    @rajibgr9104 11 дней назад +1

    Good explanation skill. Keep it up...

  • @satishkumarrayavarapu5054
    @satishkumarrayavarapu5054 23 дня назад +1

    awsome lession you are really great..

  • @pjrgamingzone543
    @pjrgamingzone543 2 месяца назад +1

    Deserve for more subscribers. Very clear explanation.step by step Thankyou so much. Please do more real time tasks

  • @nareshv2630
    @nareshv2630 Год назад +2

    Super Pavan.. Thank you for dedicating your valuable time to everyone ....

  • @vamshikrishna4579
    @vamshikrishna4579 Год назад +1

    Great vedios.. nice explanation ..

  • @SrinivasNirvana
    @SrinivasNirvana 3 месяца назад +1

    Amazing explation skill ever seen by a youtuber crip and crystal clear!

    • @PavanElthepu
      @PavanElthepu  3 месяца назад +1

      Thank you Srinivas. Please share with your friends and colleagues

  • @sagarajayathilaka
    @sagarajayathilaka 10 месяцев назад +1

    Wonderfull explanations. Thank a lot.

    • @PavanElthepu
      @PavanElthepu  10 месяцев назад

      Thank you Sagar. Please subscribe and share with your friends and colleagues

  • @dummymail6029
    @dummymail6029 3 месяца назад

    superb video

  • @brwilkinson1977
    @brwilkinson1977 Год назад +1

    Awesome video, great job 🎉

    • @PavanElthepu
      @PavanElthepu  Год назад +1

      Thank you Ben Wilkinson. Please subscribe and share with your friends and colleagues

  • @abehsu144
    @abehsu144 Год назад +1

    This tutorial is very useful!

    • @PavanElthepu
      @PavanElthepu  Год назад

      Thank you. Please subscribe and share with your friends and colleagues

  • @janvidalal476
    @janvidalal476 5 месяцев назад +1

    Super helpful

  • @TheMajieed
    @TheMajieed 4 месяца назад +1

    Thank you pavan you explained the concept with realtime which make more understandable.

    • @PavanElthepu
      @PavanElthepu  4 месяца назад

      Glad that you liked. Please subscribe and share with all your friends and colleagues

  • @srinivasuluakkula706
    @srinivasuluakkula706 Год назад +1

    @Pavan Elthepu, You are videos are great. Thank you so much for your efforts.
    at 12:14 I think required during scheduling should be marked as hard in that table. Please correct me if I am wrong?

  • @DevOpsHawk
    @DevOpsHawk 7 месяцев назад +2

    You are AWESOME, Pavan! You'd simplified so well. Appreciate your hard work for sharing this. :)

    • @PavanElthepu
      @PavanElthepu  7 месяцев назад +2

      Thank you. Please subscribe and share with your friends and colleagues👍

    • @DevOpsHawk
      @DevOpsHawk 7 месяцев назад +2

      @@PavanElthepu done and will share as well :)

  • @balakrishnag1707
    @balakrishnag1707 7 месяцев назад

    Thank you Pavan , crystal clear your concept,. What about node antiaffinity .

  • @Mohammed-co3ux
    @Mohammed-co3ux Год назад +2

    Your videos are crystal clear with the concepts..

    • @PavanElthepu
      @PavanElthepu  Год назад

      Thank you so much Mohammed. Please share with your friends and colleagues

    • @Mohammed-co3ux
      @Mohammed-co3ux Год назад +1

      @@PavanElthepu sure

  • @jalandharbehera2456
    @jalandharbehera2456 Год назад +1

    Great 👍

  • @Shailendrasingh-kf3hk
    @Shailendrasingh-kf3hk 3 месяца назад +1

    you are best and what a great and simple explanation, request you to kindly make new videos on terraform tool also.

    • @PavanElthepu
      @PavanElthepu  3 месяца назад

      Sire Shailendra. Stay tuned. Please share with your friends and colleagues

  • @RaviSharma-th9fi
    @RaviSharma-th9fi Год назад +1

    Please cover deployment strategy and kubernetes network policy also

  • @vimalwebs
    @vimalwebs Год назад +1

    Awesome tutorial man

    • @PavanElthepu
      @PavanElthepu  Год назад +1

      Thank you so much Vimal. Please subscribe and share with your friends and colleagues

    • @vimalwebs
      @vimalwebs Год назад +1

      @@PavanElthepu I already liked and subscribed

  • @SureshKotha
    @SureshKotha Год назад +1

    Good content

    • @PavanElthepu
      @PavanElthepu  Год назад

      Thank you Suresh. Please subscribe and share with your friends and colleagues

  • @ye__in
    @ye__in Год назад +1

    Great content Pavan! Thank you! By the way, could you tell me the k8s yaml extension you’re using? Mine doesn’t have auto complete function for k8s yaml format.

    • @PavanElthepu
      @PavanElthepu  Год назад

      You can install YAML and Kubernetes extensions in VS Code

    • @ye__in
      @ye__in Год назад +1

      Thank you! :)

  • @nirmesh44
    @nirmesh44 3 месяца назад +1

    best ever

    • @PavanElthepu
      @PavanElthepu  3 месяца назад

      Thank you. Please subscribe and share with your friends and colleagues

  • @jalandharbehera2456
    @jalandharbehera2456 Год назад +1

    Please make a video that how we increase pods more than 110 pods in a node

  • @user-qq4or2pg6x
    @user-qq4or2pg6x 4 месяца назад +1

    Hi Pavan, will you provide online classes for AWS & DevOps?

  • @Mohammed-co3ux
    @Mohammed-co3ux Год назад +1

    Hey buddy please make a detailed video on Helm charts

  • @rohanrustagi7857
    @rohanrustagi7857 Год назад

    sir pod affinity and node affinity both works on labels so how come they are different?

    • @PavanElthepu
      @PavanElthepu  Год назад

      Sorry, I didn’t get it Rohan. Could you please elaborate your question please.

  • @rkbompalli1719
    @rkbompalli1719 Год назад

    Pod Topology Spread Constraints?

    • @PavanElthepu
      @PavanElthepu  Год назад

      Hi RK! I will try to cover that as a separate video

    • @rkbompalli1719
      @rkbompalli1719 Год назад +1

      @@PavanElthepu Thanks Pavan, you never disappointed me waiting for the video.

    • @PavanElthepu
      @PavanElthepu  Год назад

      What is the next video you're expecting?

    • @rkbompalli1719
      @rkbompalli1719 Год назад +1

      @@PavanElthepu
      Pod Topology Spread Constraints ☺️☺️

    • @PavanElthepu
      @PavanElthepu  Год назад

      🙂🙂

  • @user-ho8cb7in6m
    @user-ho8cb7in6m 20 дней назад

    i tried same with nodeSelector field
    please help me to resolve
    -------
    in my case there is 4 node cluster architecture,one is master and remaining are workers,
    i created pv on worker2,and i want to schedule all pods of application on worker1
    i labeled worker1 as
    kubectl label node worker1 worker1: tmlabs-hp-280-g2-mt
    ----
    #deployment.yaml
    nodeSelector:
    worker1: tmlabs-hp-280-g2-mt
    ------
    Error::::
    0/4 nodes are available: 1 node(s) didn't match Pod's node affinity/selector. preemption: 0/4 nodes are available: 1 Preemption is not helpful for scheduling, 3 No preemption victims found for incoming pod..