Debugging OCP 4 nodes with non-root user
Issue
- Is it possible to debug OpenShift 4 nodes without the root user?
- How to use the
--as-root=false
option with theoc debug node
command? -
When trying to debug a node with the
--as-root=false
option, the following message is shown:error: cannot debug [node_name]: can't debug nodes without running as the root user
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
oc
CLI
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.