Created
March 2, 2020 14:32
-
-
Save iamcryptoki/ae0c9565d26206c25a5bddc69a606096 to your computer and use it in GitHub Desktop.
Install kubectx and kubens on Linux.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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