The node selector is present in the pod YAML but not in the parent deployment in RHOCP4

Solution Verified - Updated -

Issue

  • The node selector is present in the pod YAML but not in the respective deployment, causing the pods to 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content