Taint a node causes debug node to fail in OCP 4.x

Solution Verified - Updated -

Issue

When trying to run oc debug node over a tainted node, the debug pod got terminated. The response (on verbose mode) is:

helpers.go:196] server response object: [{
  "metadata": {},
  "status": "Failure",
  "message": "container \"container-00\" in pod \" worker-0.example.redhatcom -debug\" is terminated",
  "reason": "BadRequest",
  "code": 400
}]

Environment

OCP 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In