https://rancher.com/ logo
#rke2
Title
# rke2
a

adamant-kite-43734

03/06/2023, 3:00 PM
This message was deleted.
h

hallowed-breakfast-56871

03/06/2023, 8:29 PM
Set the former in your config.yaml. I would also suggest looking at the upstream vSphere CSI / CPI
h

hundreds-evening-84071

03/06/2023, 8:34 PM
Thanks; so that is under /etc/rancher/rke2 directory? I do not have config.yaml there but I am assuming I can create it? And for 3-node HA cluster should I create that file across all 3 control plane/etcd nodes and restart server service (my guess)?
h

hallowed-breakfast-56871

03/06/2023, 8:36 PM
How did you provision your master nodes? Your nodes should have
➜ /etc/rancher/rke2/config.yaml
, the file should be the same across all masters.
Best check what config your nodes are using, probably via something like
systemd
or such if Ubuntu / debian nodes.
h

hundreds-evening-84071

03/06/2023, 8:37 PM
via Rancher UI... I do have this file:
/etc/rancher/rke2/config.yaml.d/50-rancher.yaml
h

hallowed-breakfast-56871

03/06/2023, 8:38 PM
I see. I don't use the UI for anything RKE2. Yes, that file will likely be what you need. Check its content and add the lines you need and restart each node one by one.
h

hundreds-evening-84071

03/06/2023, 8:39 PM
thanks!
h

hallowed-breakfast-56871

03/06/2023, 8:39 PM
No worries. 🙂
h

hundreds-evening-84071

03/06/2023, 9:06 PM
well, that didn't work... after making changes to
/etc/rancher/rke2/config.yaml.d/50-rancher.yaml
file, I restart rke2-server service and my changes are undone...
h

hallowed-breakfast-56871

03/06/2023, 9:07 PM
Then I suggest editing within the rancher cluster webUI
h

hundreds-evening-84071

03/06/2023, 9:07 PM
yep, was thinking the same thing
h

hallowed-breakfast-56871

03/06/2023, 9:07 PM
I think I still have a dev deployment of it around here somewhere... let me try look.
Copy code
To edit your cluster, open the Global view, make sure the Clusters tab is selected, and then select Ellipsis (…) > Edit for the cluster that you want to edit. The options and settings available for an existing cluster change based on the method that you used to provision it.
116 Views