kubectx & kubens


When working with multiple Kubernetes clusters and namespaces switching context can be a chore.

For this I enjoy using kubectx and kubens.

They can be installed using kubectl krew.

kubectl krew install ctx
kubectl krew install ns

Tip

I’ve since switched to kubeswitch, which works much nicer for me.

k8s  tools 

See also