https://rancher.com/ logo
#general
Title
# general
w

white-branch-93180

03/15/2023, 9:54 AM
I am new to Rancher …I need to setup multi node k8s cluster with rke command line ..now which is the best rke or rke2 …if I don’t opt for separate load balancer
h

hundreds-evening-84071

03/15/2023, 11:33 AM
One of the biggest difference between RKE and RKE2 is that RKE requires docker and RKE2 does not.
w

white-branch-93180

03/15/2023, 11:35 AM
Thanks …but in rke how can I add another master in kube config …let’s say 3 master to add in kube config and I don’t need to create load balancer
I heard that rke by default add only one master in kube config
h

hundreds-evening-84071

03/15/2023, 11:36 AM
w

white-branch-93180

03/15/2023, 11:38 AM
Great thanks 🙏 let me go through this
ok so after I add that new master in cluster.yml file in rke …do I need to restart the rke service ?
how it will add the new master in kubeconfig which has already created at beginning ?
h

hundreds-evening-84071

03/15/2023, 1:00 PM
Its been a while since I did this, but if I remember correctly you have to do "rke up --config /path-to-your-cluster.yml"
👍 1
w

white-branch-93180

03/15/2023, 1:02 PM
what about the k8s config update ?
w

white-branch-93180

03/22/2023, 10:00 AM
is that mandatory to setup ssh before configure cluster ?
h

hundreds-evening-84071

03/22/2023, 1:09 PM
Yes for RKE. If you do not want to setup SSH then use RKE2. https://docs.rke2.io/install/requirements
👍 1
w

white-branch-93180

03/22/2023, 2:55 PM
how can I add the new master in kubeconfig for k8s with certificate etc …which generated at beginning ? I can see inside rke config 3 master are there but in kube config only one node with certificate etc…
can someone please reply
2 Views