Skip to content

Instantly share code, notes, and snippets.

@epcim
Last active November 9, 2018 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epcim/c81598e3c3482e9a598ce9ef41de95a1 to your computer and use it in GitHub Desktop.
Save epcim/c81598e3c3482e9a598ce9ef41de95a1 to your computer and use it in GitHub Desktop.
kubernetes, kubectl, kubeconfig, config
# apple
# https://brew.sh
brew install kubectx fzf
# other
# https://github.com/ahmetb/kubectx
# https://github.com/junegunn/fzf
# you may want to configure your fzf shell bindings/completition
# check /usr/local/opt/fzf/shell/*
# use:
# download your kube configs to ~/.kube/config.d
export KUBECONFIG=$(ls $HOME/.kube/config.d/* |paste -s -d: -)
kubectx
kubens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment