antiaffinity
Antiaffinity is a scheduling constraint in distributed systems that prevents certain entities from sharing the same resource, such as a node, host, or zone. It is used to improve fault tolerance, isolation, and resource distribution by avoiding co-location of related workloads.
In container orchestration platforms like Kubernetes, pod anti-affinity enables label-based rules that restrict where pods may
Common use cases include spreading replicas of a service across nodes or zones to reduce the risk
Limitations include increased scheduling complexity and the possibility of unschedulable pods if capacity is insufficient. Rigid
Across platforms, anti-affinity is a general concept with platform-specific implementations, notably in Kubernetes through PodAntiAffinity.