Kubernetes Node Selector vs Node Affinity vs Pod Affinity vs Tains & Tolerations

preview_player
Показать описание

▬▬▬▬▬ 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 👋 ▬▬▬▬▬▬

▬▬▬▬▬▬ Related videos 👨‍🏫 ▬▬▬▬▬▬

▬▬▬▬▬▬▬ Timestamps ⏰ ▬▬▬▬▬▬▬
0:00 Intro
2:16 Kubernetes Node Selector
3:27 Kubernetes Node Affinity
7:06 Kubernetes Pod Anti-Affinity
8:57 Kubernetes Pod Affinity
9:44 Kubernetes Taints and Tolerations

▬▬▬▬▬▬▬ Source Code 📚 ▬▬▬▬▬▬▬

#kubernetes #devops #cloud
Рекомендации по теме
Комментарии
Автор

I am working with Kubernetes for last 4 years. That is a very clean explanation. Nice video!

I would request you to create a specific video on HPA with request based.

ankitrawat
Автор

These k8s videos are awesome let them coming.
It's so easy understand through animation
too much effort to make these
very grateful to you for making these lectures.

prashlovessamosa
Автор

i remember some hard days when i started in DevOps, tainting some nodes for ML, then getting not enough nodes error, i fix and then a lead dev manually change from Kubernetes dashboard, until i used ArgoCD with selfHeal then RBAC so he cannot change after that the cluster became stable

Babbili
Автор

Extremely useful topic, thanks for great content again, Anton!

undetermened
Автор

Hi, Anton, again, really interesting and REALLY well presented. For someone like me, who's only dealt with Minikube locally (so that means only one Node), it is something new, but, nevertheless, great knowledge to have for the future when I will deploy in production. As always, thank you!

nero
Автор

Great video! Can I ask what software you use for the diagrams and animations?

danclarkeuk
Автор

Hey there ! Nice video ! Relly nice explanation, can I ask you with tool did you use to make those diagram animation ?

jhonatantechh
Автор

Very good explanation
Thank you Anton

LeonidKhelemes
Автор

Very good explanation,
Thank you Anton

ajaychaudhari
Автор

hey Anton are you working with Azure or planning to make any videos in the future ? Thanks for what you doing as always

George-mklp
Автор

Thanks @AntonPutra for the micro detailed video. We are currently facing some issue related to pod scheduling in eks this video provided some insights . We have a monitoring demonset which took normally ~1min to 1.5 min to spin up and ready. But some of my application pods are in ready state in the same node before the demon set pod is ready because of faster startup time.Our monitoring tool will not inject agent if the pod is ready before the demonset. Could you please suggest taint or pod affinity which one is the best approach. Other than the affinity and taint is there any other helpful suggestions please provide that as well .
Thanks in advance...

bipinkumar-dbip
Автор

The diagram at 0:50 is confusing, the pod requests 2 CPU and 4Gi memory, why node-01 which has 6CPU and 16Gi (more than pod's request) be considered not enough memory? Same question also for node-03 which has 8CPUs why it is considered not enough CPU?

xichen
Автор

Hey anton can you make video on when we deploy pods ko gke cluster where does the container log (/var/logs/) get stored, what happens in backend if we don't mount it with persistence volume.

nishitkumar
Автор

Why don't you make a course to deploy pods on gke with best practices and how to do container logs management, how to do best pods monitoring in gke, advance concepts like how to deploy microservices in gke.

nishitkumar
Автор

Thank you so much, Can you please share kubernetes scenario based questions

soumyamishra
Автор

Which tools do you use for video editing for your channel

manishalankala
Автор

Hello, in the CKA exam, a node is given an assigned label and asked to deploy on that node, I solved this question with nodeAffinity instead of nodeselector, I wonder if this could be a wrong method to get a successful score.

erdi
Автор

What would be a condition when 2 both with similar configuration should always schedule in 2 diff nodes ?

PiyushGhosh-lk
Автор

First minute: How does the score is resolved?

lukaszgmail
Автор

I didn't yet watch the video, but kudos to someone dare to bend it.

rahaan