Scheduling OpenShift Monitoring in different nodes including tainted ones

Solution Verified - Updated -

Issue

  • OpenShift Monitoring pods cannot be scheduled in different nodes.
  • OpenShift Monitoring pods cannot be scheduled in tainted nodes even if tolerations have been defined in the configuration.
  • OpenShift Monitoring failing to be scheduled:

    Warning   FailedScheduling         pod/thanos-querier-xxxxxxxx-xxxxx                            0/X nodes are available: Y node(s) didn't match Pod's node affinity/selector, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }, Z node(s) had untolerated taint {node.ocs.openshift.io/storage: true}. preemption: 0/X nodes are available: X Preemption is not helpful for scheduling.
    
    Warning   FailedScheduling    pod/prometheus-operator-xxxxxxxx-xxxxx                      0/X nodes are available: Y node(s) didn't match Pod's node affinity/selector, 3 node(s) had untolerated taint {node-role.kubernetes.io/master: }. preemption: 0/X nodes are available: X Preemption is not helpful for scheduling.
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • OpenShift Monitoring Stack

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