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

adamant-kite-43734

12/30/2022, 7:01 AM
This message was deleted.
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
Copy code
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
2 Views