What is Kubernetes AFFINITY ?

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

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!! 💪💪💪💪
@lucianolopez1558
@lucianolopez1558 9 ай бұрын
Thank you, clear and with example, keep it simple!!!
@danimercado
@danimercado 7 ай бұрын
Un genio!!! Saludos desde Argentina
@MrKulk
@MrKulk Жыл бұрын
Amazing..Thanks a ton.
@fkangalov
@fkangalov Жыл бұрын
Love it!
@trevorlichfield2386
@trevorlichfield2386 4 ай бұрын
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.
@tiagomedeiros7935
@tiagomedeiros7935 Жыл бұрын
Another excellent video.
@devcrypted
@devcrypted Ай бұрын
Great explanation, I'm just wondering if kind has an option to name nodes? Can't find anything in the documentation
Жыл бұрын
Great explanation. Now Iam encourage to use it more
@Shuubham_Harilal_Saroj
@Shuubham_Harilal_Saroj Жыл бұрын
Best explanation 👍🏻👌🏻👌🏻👌🏻
@harshdave9912
@harshdave9912 Жыл бұрын
How to schedule 2 pods on 2 separate nodes having same labels?
@manjunadh1
@manjunadh1 4 ай бұрын
Many ways ... You can use Maxskew.
@kallan2255
@kallan2255 2 ай бұрын
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.
@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 2 ай бұрын
@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.
@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.
@kallan2255
@kallan2255 2 ай бұрын
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 М.
Understanding StatefulSets in Kubernetes
28:44
That DevOps Guy
Рет қаралды 49 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Storing Secrets in GIT | GitOps | Kubernetes
27:17
That DevOps Guy
Рет қаралды 18 М.
Understanding Kubernetes RBAC | Access control basics explained
33:29
That DevOps Guy
Рет қаралды 52 М.
Simplify Kubernetes YAML with Kustomize
20:37
That DevOps Guy
Рет қаралды 78 М.
Kubernetes Explained in 15 Minutes | Hands On (2024 Edition)
15:18
Travis Media
Рет қаралды 115 М.
Understanding CPU & Memory with the Kubernetes Vertical Pod Autoscaler
22:12
Advanced Scheduling in Kubernetes
24:57
Pavan Elthepu
Рет қаралды 21 М.
Persistent Volumes on Kubernetes for beginners
18:47
That DevOps Guy
Рет қаралды 55 М.
What Is Kubernetes Ingress And How Does It Work?
13:46
DevOps Toolkit
Рет қаралды 14 М.