kubectx
Utility to manage and switch between `kubectl` contexts.
Install
- All systems
-
curl cmd.cat/kubectx.sh
- Debian
-
apt-get install kubectx
- Ubuntu
-
apt-get install kubectx
- Kali Linux
-
apt-get install kubectx
- OS X
-
brew install kubectx
Utility to manage and switch between `kubectl` contexts.
-
List the contexts:
kubectx
-
Switch to a named context:
kubectx name
-
Switch to the previous context:
kubectx -
-
Delete a named context:
kubectx -d name
© tl;dr; authors and contributors