OpenShift router pods stuck in "Pending" state when using multiple "region" labels for infrastructure nodes
Issue
- Trying to scale a router pod to several replicas - e.g. 6 - on different nodes. Four of the nodes have the label set region=region1 and two have the label set region=region2. Depending on how the pods are started either two or four pod instances do not start, but stay in "Pending".
- Router deployment hangs in "Pending" state with error message "No nodes are available that match all of the following predicates:: CheckServiceAffinity (xx), Insufficient pods (x), MatchNodeSelector (xx), PodFitsHostPorts (x)."
Environment
- Red Hat OpenShift Container Platform 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.