Skip to content

Instantly share code, notes, and snippets.

@iamcryptoki
Created March 2, 2020 14:32
Show Gist options
  • Save iamcryptoki/ae0c9565d26206c25a5bddc69a606096 to your computer and use it in GitHub Desktop.
Save iamcryptoki/ae0c9565d26206c25a5bddc69a606096 to your computer and use it in GitHub Desktop.
Install kubectx and kubens on Linux.
sudo git clone https://github.com/ahmetb/kubectx /opt/kubectx
sudo ln -s /opt/kubectx/kubectx /usr/local/bin/kubectx
sudo ln -s /opt/kubectx/kubens /usr/local/bin/kubens
echo "source /opt/kubectx/completion/kubectx.bash" >> ~/.bashrc
echo "source /opt/kubectx/completion/kubens.bash" >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment