back to home

kubie-org / kubie

A more powerful alternative to kubectx and kubens

View on GitHub
2,489 stars
123 forks
61 issues

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing kubie-org/kubie in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/kubie-org/kubie)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Kubie > [!IMPORTANT] > Please see issue #385 regarding the future of Kubie development. is an alternative to , and the prompt modification script. It offers context switching, namespace switching and prompt modification in a way that makes each shell independent from others. It also has support for split configuration files, meaning it can load Kubernetes contexts from multiple files. You can configure the paths where kubie will look for contexts, see the settings section. Kubie also has other nice features such as which allows you to execute commands in a context and a namespace without having to spawn a shell and which scans your k8s config files for issues and informs you of what they are. • Installation • Usage • Settings • Future plans Thanks to @ahermant for the lovely logo! Installation Binary You can download a binary for Linux or OS X on the GitHub releases page. You can use or to download it. Don't forget to the file! Cargo You can build from source using and crates.io. If you do not have a Rust compiler installed, go to rustup.rs to get one. Then you can run and kubie will be downloaded from crates.io and then built. Homebrew You can install from Homebrew by running . MacPorts You can also install from MacPorts by running . Nix There is a Nix package maintained by @illiusdope that you can install. Arch Linux is available in the extra repository, and it can be installed by running . Autocompletion Autocompletion can be enabled by adding one of the following lines to your shell's configuration file, e.g., or : See the clap-complete docs for all supported shells. Usage Selectable menus will be available when using and . --- • display a selectable menu of contexts • switch the current shell to the given context (spawns a shell if not a kubie shell) • switch back to the previous context (session history inside a kubie shell, last globally-used context otherwise) • spawn a recursive shell in the given context • spawn a shell in the given context and namespace • display a selectable menu of namespaces • switch the current shell to the given namespace • switch back to the previous namespace • spawn a recursive shell in the given namespace • execute a command in the given context and namespace • execute a command in all the contexts matched by the wildcard and in the given namespace • execute a command in all the contexts matched by the wildcard and in the given namespace but fail early if any of the commands executed return a non-zero exit code • prints the path to an isolated config file for a context and namespace • display a selectable menu of contexts to edit • edit the file that contains this context • edit kubie's own config file • lint k8s config files for issues • print name of current context • print name of current namespace • print depth of recursive contexts • will check the latest kubie version and update your local installation if needed Settings You can customize kubie's behavior with the file. The settings available and their defaults are available below. For distro maintainers Since , the self update functionality is behind a feature. You can use to produce a binary without the self update functionality. It's probably better if people rely on the distro's package manager for updates over this functionality. The binary produced is also quite smaller since it has fewer dependencies. Future plans • Integration with vault to automatically download k8s configs from a vault server • Import/edit configs