Distributing pod replicas evenly on available nodes using "PodAntiAffinity"
Issue
- How to configure deployment to place pod replicas on different nodes?
- How to ensure the scheduler does not co-locate replicas on a single node?
- How to distribute pod replicas evenly on available nodes?
- How to balance pods across available nodes to limit impact if one node goes down?
Environment
- Red Hat OpenShift Container Platform (RHOCP) - 4.x
- Red Hat OpenShift Service on AWS (ROSA)
- Azure Red Hat OpenShift (ARO)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.