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!
Good explanation skill. Keep it up...
awsome lession you are really great..
Deserve for more subscribers. Very clear explanation.step by step Thankyou so much. Please do more real time tasks
Super Pavan.. Thank you for dedicating your valuable time to everyone ....
Great vedios.. nice explanation ..
Amazing explation skill ever seen by a youtuber crip and crystal clear!
Thank you Srinivas. Please share with your friends and colleagues
Wonderfull explanations. Thank a lot.
Thank you Sagar. Please subscribe and share with your friends and colleagues
superb video
Awesome video, great job 🎉
Thank you Ben Wilkinson. Please subscribe and share with your friends and colleagues
This tutorial is very useful!
Thank you. Please subscribe and share with your friends and colleagues
Super helpful
Thank you pavan you explained the concept with realtime which make more understandable.
Glad that you liked. Please subscribe and share with all your friends and colleagues
@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?
You are AWESOME, Pavan! You'd simplified so well. Appreciate your hard work for sharing this. :)
Thank you. Please subscribe and share with your friends and colleagues👍
@@PavanElthepu done and will share as well :)
Thank you Pavan , crystal clear your concept,. What about node antiaffinity .
Your videos are crystal clear with the concepts..
Thank you so much Mohammed. Please share with your friends and colleagues
@@PavanElthepu sure
Great 👍
you are best and what a great and simple explanation, request you to kindly make new videos on terraform tool also.
Sire Shailendra. Stay tuned. Please share with your friends and colleagues
Please cover deployment strategy and kubernetes network policy also
Awesome tutorial man
Thank you so much Vimal. Please subscribe and share with your friends and colleagues
@@PavanElthepu I already liked and subscribed
Good content
Thank you Suresh. Please subscribe and share with your friends and colleagues
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.
You can install YAML and Kubernetes extensions in VS Code
Thank you! :)
best ever
Thank you. Please subscribe and share with your friends and colleagues
Please make a video that how we increase pods more than 110 pods in a node
Hi Pavan, will you provide online classes for AWS & DevOps?
Please connect on LinkedIn
Hey buddy please make a detailed video on Helm charts
Yes, already on it Mohammed
Thank you so much..
sir pod affinity and node affinity both works on labels so how come they are different?
Sorry, I didn’t get it Rohan. Could you please elaborate your question please.
Pod Topology Spread Constraints?
Hi RK! I will try to cover that as a separate video
@@PavanElthepu Thanks Pavan, you never disappointed me waiting for the video.
What is the next video you're expecting?
@@PavanElthepu
Pod Topology Spread Constraints ☺️☺️
🙂🙂
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..