What is Kubernetes AFFINITY ?

  Рет қаралды 7,246

That DevOps Guy

That DevOps Guy

Күн бұрын

Пікірлер: 19
@Antonio-yy2ec
@Antonio-yy2ec Жыл бұрын
Pure gold!
@MuthaNagavamsi
@MuthaNagavamsi Жыл бұрын
Thank you soo much. You tutorials were helpful indeed. Most importantly your editing skills are top tier. Building my own channel, and you are my inspiration for KZbin. Thank you for everything.
@dillonhansen71
@dillonhansen71 Жыл бұрын
Lets goo!! 💪💪💪💪
@trevorlichfield2386
@trevorlichfield2386 3 ай бұрын
Beautiful explanation. The only thing I had questions about that I thought I would share is the topology key. I didn't really understand it (I'm a beginner and was missing some context) but to elaborate: I think a good way to explain it (or better common name for it) would be the node group, or, the group of nodes the affinity rule will be searching for pods within. in the video example, grouping by hostname means searching for matching pods per node, because the hostname is unique for each node. You could also use this to group based on a different label on the node, like "region" where you could group the nodes based on their region, and make sure your pods only exist on a per-region basis and whatnot.
@lucianolopez1558
@lucianolopez1558 8 ай бұрын
Thank you, clear and with example, keep it simple!!!
@devcrypted
@devcrypted 16 сағат бұрын
Great explanation, I'm just wondering if kind has an option to name nodes? Can't find anything in the documentation
@danimercado
@danimercado 5 ай бұрын
Un genio!!! Saludos desde Argentina
@fkangalov
@fkangalov Жыл бұрын
Love it!
@tiagomedeiros7935
@tiagomedeiros7935 Жыл бұрын
Another excellent video.
Жыл бұрын
Great explanation. Now Iam encourage to use it more
@MrKulk
@MrKulk Жыл бұрын
Amazing..Thanks a ton.
@tekknokrat
@tekknokrat Жыл бұрын
Very valuable explanation. Interesting that i have much more flexibility using a pod affinity then node affinity. But instead of using pod anti affinity in some cases i would stick with using a daemonset.
@Shubham__Saroj
@Shubham__Saroj Жыл бұрын
Best explanation 👍🏻👌🏻👌🏻👌🏻
@emilne83
@emilne83 Жыл бұрын
Thank you for this great tutorial. To extend on this concept, how would you go about scheduling pods on a physical rack based anti-affinity rule? Assuming that the nodes had labels applied for the rack they were located in.
@kallan2255
@kallan2255 Ай бұрын
@emilne83 I would recommend topology spread constraints for most circumstances like this, assuming your use case is about spreading out replicas across different failure domains (node, rack, aisle, zone etc). I'd recommend avoiding pod affinity/anti-affinity entirely as it's got a pretty poor implementation that absolute wrecks cluster auto scalers.
@harshdave9912
@harshdave9912 11 ай бұрын
How to schedule 2 pods on 2 separate nodes having same labels?
@manjunadh1
@manjunadh1 3 ай бұрын
Many ways ... You can use Maxskew.
@kallan2255
@kallan2255 Ай бұрын
Topology spread constraints. Although I recommend never using hard requirements for scheduling unless you truly need them (distributed databases etc) and stick to preferred scheduling policies in all cases.
@kallan2255
@kallan2255 Ай бұрын
I dont really understand this one to be honest. Nodes for a given cluster will always in the same region. Kubernetes does not work with control planes and worker nodes across geographically seperate network boundaries. You're probably going to confuse people with this example.
What are Kubernetes HEALTH probes ?
16:08
That DevOps Guy
Рет қаралды 7 М.
Simplify Kubernetes YAML with Kustomize
20:37
That DevOps Guy
Рет қаралды 77 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 21 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 15 МЛН
Persistent Volumes on Kubernetes for beginners
18:47
That DevOps Guy
Рет қаралды 55 М.
How load balancing and service discovery works in Kubernetes
10:41
That DevOps Guy
Рет қаралды 43 М.
Day 15/40 - Kubernetes Node Affinity Explained | How Node Affinity Works
27:25
Tech Tutorials with Piyush
Рет қаралды 4,7 М.
What Is Kubernetes Ingress And How Does It Work?
13:46
DevOps Toolkit
Рет қаралды 13 М.
Understanding StatefulSets in Kubernetes
28:44
That DevOps Guy
Рет қаралды 49 М.
pod affinity and pod anti affinity in kubernetes
15:40
Deekshith SN
Рет қаралды 21 М.
Introduction to Helm | Kubernetes Tutorial | Beginners Guide
27:32
That DevOps Guy
Рет қаралды 174 М.
Kubernetes cluster autoscaling for beginners
12:55
That DevOps Guy
Рет қаралды 53 М.
Kubernetes Explained - What is Kubernetes and How it works?
28:26
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 21 МЛН