Unable to remove infra label from the worker node in RHOCP4

Solution Verified - Updated -

Issue

  • Not able to remove the infra label from the worker node in RHOCP4 cluster.
  • Removing label from worker node is not working :
$ oc label node node-name-xxx node-role.kubernetes.io/infra-
node/node-name-xxx labeled
$ oc get node
NAME            STATUS  ROLES            AGE    VERSION
node-name-xxx   Ready   infra,worker     520d   v1.24.6+5658434

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4
  • IPI

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