Description
kubie is a command line tool for switching between Kubernetes contexts and namespaces, and it is presented as a more powerful alternative to kubectx and kubens. Its main idea is that each shell is independent: switching the context in one terminal does not change it in another. It also changes the shell prompt, so you can see which context and namespace you are using. kubie can load Kubernetes contexts from several configuration files, which the README calls split configuration, and you choose the paths it searches in its settings file. Two extra commands stand out. kubie exec runs a command against a context and namespace without starting a new shell, and kubie lint scans your Kubernetes configuration files for problems and reports what it finds. Shell autocompletion can be enabled from your shell configuration, and the tool supports bash, dash, fish, xonsh and zsh. You can install it from a binary on the GitHub releases page, with cargo from crates.io, with Homebrew, with MacPorts, from the Nix package, or from the Arch Linux extra repository. The README includes a note that its development future is being discussed in an issue on GitHub, so check that issue before you depend on it for new work.…
Highlights
- Independent context and namespace in each shell
- Split configuration from several files
- kubie exec runs commands without a new shell
- kubie lint checks Kubernetes config files
- Installs with cargo, Homebrew, MacPorts, Nix or pacman
Ratings & Reviews
No ratings yet
Be the first to rate Kubie.
People also visit
Kubie FAQ
What does kubie do?
It switches Kubernetes contexts and namespaces in your shell, and it changes the prompt to show where you are.
How is it different from kubectx and kubens?
It keeps each shell independent, loads contexts from several configuration files, and adds exec and lint commands.
How do I install it?
Download a binary from the GitHub releases page, run cargo install kubie, use brew install kubie or sudo port install kubie, or install from pacman on Arch Linux.
Does it check my configuration?
Yes. The kubie lint command scans your Kubernetes config files for issues and tells you what it finds.
Is the project still developed?
The README notes that the future of kubie is discussed in an issue on GitHub, so check that issue for the current status.
Is it free?
Yes. It is open source and its code is on GitHub.
What are the best Kubie alternatives?
Popular alternatives to Kubie include KubeContext, KubeSwitch and Kubevious. See all Kubie alternatives



