Kubernetes CLI To Manage Your Clusters In Style!
Opening the entry
Opening the entry
Faster way to switch between clusters and namespaces in kubectl
kubectx and kubens are command-line tools that make switching between kubectl contexts (clusters) and Kubernetes namespaces faster. They are aimed at people who work with multiple clusters or namespaces and want to avoid typing long context names. kubectx switches contexts, can jump back to the previous one, and can launch isolated or read-only shells; kubens changes the active namespace for kubectl. Both support tab completion and optional interactive selection with fzf.
brew install kubectx
kubectx minikube
ahmetb/kubectx is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.