# How to disable role worker

**URL:** <https://forums.suse.com/t/how-to-disable-role-worker/18276>\
**Category:** SUSE Rancher Prime\
**Created:** [September 4, 2020, 1:58pm UTC](https://forums.suse.com/t/how-to-disable-role-worker/18276 "2020-09-04T13:58:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rprengel](https://avatars.discourse-cdn.com/v4/letter/r/bbce88/32.png) [@rprengel](https://forums.suse.com/u/rprengel)\
**Post date:** [September 4, 2020, 1:58pm UTC](https://forums.suse.com/t/how-to-disable-role-worker/18276/1 "2020-09-04T13:58:12Z")

</div>

Hallo,  
I ve a rancher 2 server configured with all three roles.  
Now I ve add some workes and want to disable the role worker on the rancher server.  
Can anyone here send me a hint?  
Thanks  
Ralf

---

<div class="post-metadata">

**Author:** ![Fraser\_Goffin](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/fraser_goffin/32/6608_2.png) [@Fraser\_Goffin](https://forums.suse.com/u/Fraser_Goffin)\
**Post date:** [September 10, 2020, 9:45am UTC](https://forums.suse.com/t/how-to-disable-role-worker/18276/2 "2020-09-10T09:45:35Z")

</div>

Take a look at the advanced installation options, specifically node taints and tolerances. Most likely you want to use the NoSchedule effect unless you want to evict existing pods (NoExecute) or use the ‘softer’ version of PreferNoSchedule. These can be set at registration time or later using kubectl.

> **[Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)**
>
> Node affinity, is a property of PodsA Pod represents a set of running containers in your cluster. that attracts them to a set of nodesA node is a worker machine in Kubernetes. (either as a preference or a hard requirement). Taints are the opposite...

---

<div class="post-metadata">

**Author:** ![rprengel](https://avatars.discourse-cdn.com/v4/letter/r/bbce88/32.png) [@rprengel](https://forums.suse.com/u/rprengel)\
**Post date:** [September 30, 2020, 1:50pm UTC](https://forums.suse.com/t/how-to-disable-role-worker/18276/3 "2020-09-30T13:50:21Z")

</div>

Hallo,

could you send me a hint where I can find the NoSchedule exact?  
Thanks

Ralf

---

<div class="post-metadata">

**Author:** ![rprengel](https://avatars.discourse-cdn.com/v4/letter/r/bbce88/32.png) [@rprengel](https://forums.suse.com/u/rprengel)\
**Post date:** [October 1, 2020, 8:58pm UTC](https://forums.suse.com/t/how-to-disable-role-worker/18276/4 "2020-10-01T20:58:56Z")

</div>

Hallo,  
found it.  
Ralf
