Taint a node with NoExecute effect causes oc debug node to fail in OCP 4

Solution Verified - Updated -

Issue

  • When trying to run oc debug node over a tainted node with NoExecute effect, the debug pod got terminated.
  • Error trying to debug a node when the node is tainted:

    error: unable to create the debug pod "worker-0.example.redhat.com-debug"
    

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