Simple kubernetes context and namespace switch using shell/bash script
curl -s https://raw.githubusercontent.com/koolwithk/kubernetes-kn-kx-bash/main/install.sh | sudo bash
kn #show current namespace
kx #show current context
kn <namespace> #switch to other namespace
kx <context> #switch to other context
- Size is less than 10KB
- Simple and Easy to install
- Slower than kubectx/kubens as it's calls shell sed, awk, grep, kubectl in background.
- kubectl