kubectx
kubectx copied to clipboard
Context switch is not working - possible clash with same context name value
Hi! I have some kubeconfigs which has the same context name inside. Even kubectl is not able identify both if these are listed in the KUBECONFIG env variable, like
KUBECONFIG=/home/user/.kube/cluster1.conf:/home/user/.kube/cluster2.conf
Is there some other way to identify the kubeconfigs with the context-cluster key? Unfortunately I couldn't rename the context, because that breaks the functionality of the config. I experience pretty much the same with kubeswitch: https://github.com/danielfoehrKn/kubeswitch/issues/137