How to remove worker role from control plane in OpenShift 4?
Issue
- On bare metal installations,
masternodes feature bothmasterandworkerroles. - How to remove
workerrole frommasterin Red Hat OpenShift Container Platform 4? - Not able to apply
taintonmasternodes due to which application pods are getting scheduled onmasternodes. - How to
taintcontrol plane nodes so that application pods are always scheduled onworkernodes? -
The
workerrole is shown also for control plane nodes:master-0.example.com Ready control-plane,master,worker 6d v1.26.5+0001a21 master-1.example.com Ready control-plane,master,worker 6d v1.26.5+0001a21 master-2.example.com Ready control-plane,master,worker 6d v1.26.5+0001a21
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Control Plane Schedulable
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.