Debug node couldn't be scheduled and shows policy voilation in RHOCP 4.11

Solution Verified - Updated -


  • While debugging node, getting below mentioned error:
Warning: would violate PodSecurity "baseline:v1.24": host namespaces (hostNetwork=true, hostPID=true), hostPath volumes (volume "host"), privileged (container "container-00" must not set securityContext.privileged=true)
  • Unable to debug node because of pod security violation.


  • Red Hat Openshift Container Platform 4.11.5

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