Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 572 Bytes

about-pod-affinity.adoc

File metadata and controls

11 lines (8 loc) · 572 Bytes

Affinity is a property of pods that controls the nodes on which they prefer to be scheduled. Anti-affinity is a property of pods that prevents a pod from being scheduled on a node.

In {product-title}, pod affinity and pod anti-affinity allow you to constrain which nodes your pod is eligible to be scheduled on based on the key-value labels on other pods.