Open yogeshghotekar opened 1 week ago
Hey there, please try out the rewrite branch, it offers a lot more flexibility and is the direction we are going from now on. In the rewrite branch you can add the settings below to the hosts via host vars and you should get what you are looking for.
To set an ETCd only node:
host_rke2_config:
disable-apiserver: true
disable-controller-manager: true
disable-scheduler: true
To set a control-plane only node:
host_rke2_config:
server: https://<etcd-only-node>:9345
disable-etcd: true
I should note: What you are asking to do is not likely to be a good idea. If you plan on deploying only three nodes all three should be controlplane, etcd, and worker nodes. The setup you propose above has no HA for ETCd, controlplane, or workloads.
@Daemonslayer2048 Thanks for the update. I only gave example of 3 nodes but we have flexibility to use any number of nodes that to have different role combination.
I want to create 3 node cluster. Is there any way we can configure roles for the node in hosts.yml file? 1st node dedicated to etcd only 2nd node dedicated to controlplan only 3rd node dedicated to worker only