Voraussetzung: alle kubeconfigs liegen unter ~/.kube/configs
export KUBECONFIG=$(find ~/.kube/configs -type f | tr ‚\n‘ ‚:‘)
kubectl config view –flatten > ~/.kube/config
kubectl config get-clusters
Voraussetzung: alle kubeconfigs liegen unter ~/.kube/configs
export KUBECONFIG=$(find ~/.kube/configs -type f | tr ‚\n‘ ‚:‘)
kubectl config view –flatten > ~/.kube/config
kubectl config get-clusters