Pods are not schedulable after setting defaultNodeSelector for the Scheduler

Solution Verified - Updated -

Issue

  • Pods are not schedulable after defining defaultNodeSelector and proper labels on workers
  • In oc get events -n $PROJECT there are warnings for deployments like:

    Error creating deployer pod: unable to parse requirement: label value: Invalid value: "''": must match format [ DNS 1123 subdomain / ] DNS 1123 label
    

    or

    Error creating: unable to parse requirement: label value: Invalid value: "\"\"": must match format [ DNS 1123 subdomain / ] DNS 1123 label
    

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