I create kcs community iso 1.28.4 on acs 4.19.0.1.
I create two clusters. The cluster name is not populated to Config.
In cluster kubeconfig, cluster name is kubernetes and user is kubernetes-admin.
So I can not merge two into one.
I remember it is possible in previous version.
kubeconfig is created with the name I supplied when create kubernetes cluster
such as:
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: ...
server: https://x.x.x.x:6443
name: supplied-name
contexts:
- context:
cluster: supplied-name
user: supplied-name-admin
name: supplied-name-admin@kubernetes
kind: Config
preferences: {}
users:
- name: supplied-name-admin
user:----
So I can distingush two clusters.
Is there any way I can change cluster name in kubeconfig?