Kubernetes Affinity & Anti-Affinity

  Рет қаралды 6,680

Infinite Linux

Infinite Linux

Күн бұрын

Пікірлер: 13
@SanjeevKumar-nq8td
@SanjeevKumar-nq8td Жыл бұрын
Nice, With podAntiAffinity one replica lands in one node & the next replica in another node. For a statefull set deployment how should it be configured to say that replica 1 on node Y & replic 2 on node Z,. Example of such stateful set are Postgres, Strimzi kafka etc.
@InfiniteLinux
@InfiniteLinux Жыл бұрын
Stateful sets are tricky, since they are bound to a physical volume on a host.
@Noidaabbayi_Official
@Noidaabbayi_Official 2 жыл бұрын
But i got little confused with pod antiaffinity when replicas got increased
@dinakarjanga6710
@dinakarjanga6710 2 жыл бұрын
Hi...This is informative , however just want to know how to overcome mistakes when compelling the yaml file. How do we know the rules,,,,i mean where should we use capital letters, how much space should be given...etc.... It looks simple but kills lot of time during exam. Is there any tutorial on how to create yaml files.> thanks.
@InfiniteLinux
@InfiniteLinux 2 жыл бұрын
In exam you have access to the docs, just copy straight from it
@shreyasrai
@shreyasrai 2 жыл бұрын
How do you list the podaffinity, podantiaffinity rules , nodeaffinity rules in the cluster ? I donot want to do describe of deployment/statefulset and check
@InfiniteLinux
@InfiniteLinux 2 жыл бұрын
These are not kubernetes objects but a property, so you can do anything like kubectl get podaffinity, that's not possible, you can I think use jsonpath instead, do some research and you should have an answer
@dondreytaylor8001
@dondreytaylor8001 3 жыл бұрын
Very helpful. Thank you for taking the time to put this together. The MongoDB replica-set I had in Kubernetes kept going down in production each time a node went offline, and after watching your video I realized that I needed to schedule the replica pods on different nodes. Thanks again!
@InfiniteLinux
@InfiniteLinux 3 жыл бұрын
You are most welcome Dondrey :)
@nksajeer
@nksajeer 3 жыл бұрын
Good one
@InfiniteLinux
@InfiniteLinux 3 жыл бұрын
thanks :)
@kkkant1547
@kkkant1547 3 жыл бұрын
Please make a detailed video on ingress Kubernetes
@InfiniteLinux
@InfiniteLinux 3 жыл бұрын
Coming soon
Advanced Scheduling in Kubernetes
24:57
Pavan Elthepu
Рет қаралды 18 М.
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 19 МЛН
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 48 МЛН
EKS Workshop Pod Affinity and Anti Affinity
46:11
Containers from the Couch
Рет қаралды 5 М.
init containers and side-car containers in kubernetes
22:10
Deekshith SN
Рет қаралды 25 М.
Cloud Design Patterns
3:40:10
Luke Murray
Рет қаралды 797
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 19 МЛН