When you're working with different kubernetes clusters it can become a hassle to keep changing the KUBECONFIG
environment variable when you need to switch to a different cluster.
This tries to make life easier by providing a binary file that shows the clusters available inside of your $HOME/.kube/kc/
folder. You can choose one of these clusters and it will copy the command to your clipboard.
- Download the binary file available on github
- Put it in your
$PATH
(e.g.$HOME/bin
folder) - Go to your
.kube
directory and make a new folder calledkc
(e.g.$HOME/.kube/kc
) - Put your cluster config in this new
kc
folder