cluster-id with just VC-IP on multi clustered VC is error prone
rpanduranga opened this issue · 1 comments
Issue/Feature Description:
cluster-id with just VC-IP on multi clustered VC is error prone
cluster-id: The unique cluster identifier. Each Kubernetes cluster must contain a unique cluster-id set in the configuration file. The cluster ID cannot not exceed 64 characters.
What type of Issue/Feature is this?
Uncomment only one
/kind <>
line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug fix
Why this fix/ feature is needed(give scenarios or use cases):
Currently the vsphere-config-secret is created with the cluster-id as VC-IP
here is the decoded output of the secret
[Global]
cluster-id = "VCIP"
[VirtualCenter "VCIP"]
insecure-flag = "true"
user = "Administrator@vsphere.local"
password = "Admin!23"
datacenters = "VSAN-DC"
On the multi clustered VC, if the two or more clusters are configured with the same cluster-id then it is an error prone for the
CNS analytics
How to reproduce, in case of a bug:
Configure a setup with multi cluster and deploy multiple k8s cluster in it
Other Notes / Environment Information: (Please give the env information, log link or any useful information for this issue)
https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/2.0/vmware-vsphere-csp-getting-started/GUID-BFF39F1D-F70A-4360-ABC9-85BDAFBE8864.html
/cc @jvrahav