S2I build pending with pod unschedulable error

Solution Verified - Updated -

Issue

  • The S2I build is failing with an error
0/9 nodes are available: 3 node(s) didn't match Pod's node affinity, 3 node(s) had taint {infra: reserved}, that the pod didn't tolerate, 3 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate.
  • Issue occurs while trying to use the nodeSelector for building the pods.

Environment

  • Red Hat OpenShift Container Platform
    • 4.x

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