https://rancher.com/ logo
Title
g

gorgeous-dream-14916

12/30/2022, 7:01 AM
Hi, can someone confirm me how I should set the Data Center to the downstream-cluster options under add-ons when using cloud provider vSphere? should it be in format of “/datacentername/cluster” or just “datacentername” or “/datacentername”?
a

agreeable-oil-87482

12/30/2022, 11:27 AM
/datacentername
Assuming you're using the in-tree config
g

gorgeous-dream-14916

12/30/2022, 11:28 AM
as in DC/folder/vms?
a

agreeable-oil-87482

12/30/2022, 11:30 AM
Just to confirm, is this an RKE1/RKE2 cluster and are you adding these fields in the following cluster.yaml block
rancher_kubernetes_engine_config:
  cloud_provider:
    name: vsphere
    vsphereCloudProvider:
Or are you selecting vsphere from the drop down "cloud provider" list and populating the fields in the Rancher UI?
g

gorgeous-dream-14916

12/30/2022, 11:30 AM
yea, it’s RKE2 cluster and via rancher UI
a

agreeable-oil-87482

12/30/2022, 11:31 AM
In that case just use label names,
g

gorgeous-dream-14916

12/30/2022, 11:34 AM
label names?
a

agreeable-oil-87482

12/30/2022, 11:34 AM
Just how they are displayed in vcenter. Ie for mine I have:
datacenters: Homelab
g

gorgeous-dream-14916

12/30/2022, 11:34 AM
Ok
Thanks
a

agreeable-oil-87482

12/30/2022, 11:34 AM
np