Pod placement not equally done across multiple zones
Issue
- In some cases, pods gets scheduled in the same zone even if two identical zones with identical pods are available. We are using custom labels and have adjusted
scheduler.jsonto implement anti-affinity based on these labels. Thescheduler.jsonwas extended with the following entry to achieve service-anti-affinity.
[...]
{
"argument": {
"serviceAntiAffinity": {
"label": [ "datacenter" ]
}
},
"name": "Datacenter",
"weight": 10
}
[...]
Environment
- Red Hat OpenShift Container Platform 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
