This message was deleted.
# k3s
a
This message was deleted.
c
All three are servers you mean?
Just use kubectl to delete the node you don't want from the cluster. After the node is deleted, run the uninstall script. Do that one node at a time.
w
@creamy-pencil-82913 Where can I find this uninstall script?
w
@creamy-pencil-82913 Thanks for that. I just spent an hour on that website, but completely missed that link.
c
Assuming you used the install script. If you just downloaded the binary directly without using the install script, then you won't have the uninstall or killall scripts.
w
@creamy-pencil-82913 Was installed using Ansible. Will take a look to see if I can find the scripts.
c
Did you use ansible to run the install script, or ?
w
I used a prefedined role that installed it. Will dig into the role to see, but if I remember correct the role downloads the binary, copies on some conf files, then uses the commend line to create each cluster node, masters first, then workers.
As I suspected, no uninstall scripts found. But as long as the nodes are out of the cluster, I don't see this being an issue, as I can drop these servers, they won't be required again.
@creamy-pencil-82913 Many thanks, it worked a treat.