# Change role of node

**URL:** <https://forums.suse.com/t/change-role-of-node/17017>\
**Category:** SUSE Rancher Prime\
**Created:** [April 1, 2020, 4:41pm UTC](https://forums.suse.com/t/change-role-of-node/17017 "2020-04-01T16:41:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SimonHe](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/simonhe/32/6240_2.png) [@SimonHe](https://forums.suse.com/u/SimonHe)\
**Post date:** [April 1, 2020, 4:41pm UTC](https://forums.suse.com/t/change-role-of-node/17017/1 "2020-04-01T16:41:02Z")

</div>

I want to change the roles of a node from worker to worker,etcd. (Yes, it is a dev setup.) It is a custom managed cluster, so the node was added with `sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run rancher/rancher-agent:v2.3.5 --server https://rancher.XXX:443 --token XXX --ca-checksum XXX --worker`.

How can I do this? I guess this is documented somewhere, but I do not find it, sorry.

---

<div class="post-metadata">

**Author:** ![SimonHe](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/simonhe/32/6240_2.png) [@SimonHe](https://forums.suse.com/u/SimonHe)\
**Post date:** [April 3, 2020, 11:22am UTC](https://forums.suse.com/t/change-role-of-node/17017/2 "2020-04-03T11:22:28Z")

</div>

What worked is simply starting the command once again with the desired parameters. But then two instances are running. Which one should be stopped? I stopped the new one after some seconds, when the UI showed the changes. But myabe I should have stopped the old one before starting the new one?

But finally I recreated my dev cluster, because etcd was in error state all the time. The new cluster with 3 instances of etcd seems to run much more stable. (Scaleing from 1 to 3 was the original idea.)

---

<div class="post-metadata">

**Author:** ![chaidog](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@chaidog](https://forums.suse.com/u/chaidog)\
**Post date:** [March 2, 2023, 2:34am UTC](https://forums.suse.com/t/change-role-of-node/17017/3 "2023-03-02T02:34:12Z")

</div>

hi，How did you solve the problem？  
Now I have a node used for etcd, and I want to change it to work only. I don’t know how to operate without deleting the node. Thank you
