You want a host with no etcd or control-plane components? It sounds like you’re describing an agent node.
c
crooked-cat-21365
01/31/2024, 7:22 AM
@creamy-pencil-82913, using RKE2 terminology, I would like to setup new server nodes (without local worker) and to convert the old servers into agents, without confusing Rancher.
c
creamy-pencil-82913
01/31/2024, 8:01 AM
You can't have servers with no agent. Servers must run the agent (containerd+kubelet) to host the control plane and etcd pods. Best you can do is add taints to the servers to prevent workloads from running on them.
creamy-pencil-82913
01/31/2024, 8:03 AM
Swapping servers around like that is tricky to do. I would probably add the new servers, then delete the current ones, then reinstall them as agents. Once that is done you can add taints to the servers and delete whatever pods you don't want on the servers so that they get rescheduled.