The node selector is present in the pod YAML but not in the parent deployment in RHOCP4
Issue
-
The
node selectoris present in thepodYAML but not in the respectivedeployment, causing thepodsto fail scheduling on any RHOCP4 node.$ oc get deployment <deployment-name> -o yaml | grep -A1 nodeSelector # no output $ oc get pod <pod-name> -o yaml | grep -A1 nodeSelector nodeSelector: namespace: worker02
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.