A tool that merges multiple kubeconfig files for the wonderful and essential kubectx.
go get github.com/tacrocha/kubectx-reload
kubectx-reload
kubectl
andkubectx
are installed and in the PATH;- Kubeconfig files are in
~/.kube
; - File names start with
kubeconfig-
, e.g.:kubeconfig-mycontext01
,kubeconfig-othercontext.yaml