kubectx & kubens

2025-02-17 (updated 2025-10-25)
Notes | 1 min read
#k8s #tools

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
I’ve since switched to [[kubeswitch]], which works much nicer for me.