kubens
Utility to switch between Kubernetes namespaces. More information: <https://github.com/ahmetb/kubectx>.
Install
- All systems
-
curl cmd.cat/kubens.sh
- Debian
-
apt-get install kubectx
- Ubuntu
-
apt-get install kubectx
- Kali Linux
-
apt-get install kubectx
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install kubectx
- OS X
-
brew install kubectx
- Dockerfile
- dockerfile.run/kubens
Utility to switch between Kubernetes namespaces. More information: <https://github.com/ahmetb/kubectx>.
-
List the namespaces:
kubens
-
Change the active namespace:
kubens name
-
Switch to the previous namespace:
kubens -
© tl;dr; authors and contributors