Managing Kubernetes clusters, contexts, and namespaces can be time-consuming. But fear not! I’ve got you covered with KubeKit smart tools: kubectl (with k alias), helm, kustomize, kc, and kn. These tools will streamline your workflow and make your life easier.
There are many awesome Kubernetes tools like kubectx and k9s. I built KubeKit for a simpler path: keep a traditional CLI workflow, reduce setup complexity, and make daily Kubernetes operations fast and efficient.
Once installed, you can use KubeKit to enhance your Kubernetes workflow:
- Use
kas short version ofkubectl - Use
helmfor chart/package operations - Use
kustomizefor manifest customization - Use
kcto manage Kubernetes contexts:kc: List available contextskc <context-name>: Switch to the specified context
- Use
knto manage Kubernetes namespaces:kn: List available namespaceskn <namespace-name>: Switch to the specified namespace
For more information on KubeKit usage, refer to run kc -h and kn -h for help.
Install everything (core CLI tools + aliases k, kc, kn) with auto-completion for Linux:
curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo bashFor macOS, please using zsh instead:
curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo zsh-
Install only core CLI tools (skip aliases
k,kc,kn):curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo bash -s -- --no-aliases -
Skip specific tools when needed:
curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo bash -s -- --no-kubectl curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo bash -s -- --no-helm --no-kustomize
-
Update version for specific tool:
curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo bash -s -- --update <tool> # kubectl, helm, kustomize
Manual install from repository:
git clone https://github.com/nh4ttruong/kubekit.git
cd kubekit
bash ./install.shNote
The installer automatically installs missing kubectl, helm, and kustomize binaries on Linux/macOS and configures shell completion for them.
By default, aliases k, kc, and kn are installed with their completion setup.
After each install/update run, the installer prints a summary table showing tool installation status and detected versions.
korkubectl: The officialkubectltool made by Official Kubernetes, you also could usekas its short version. They come with intelligent auto-completion! Just hit to see the magic happen.helm: Kubernetes package manager with shell auto-completion.kustomize: Native Kubernetes configuration customization tool with shell auto-completion.kc: Easily switch between cluster contexts with a shorter aliaskc. Typekcinstead of the full command to get all contexts with current highlighting context.kn: Need to get all namespaces or switch between cluster namespaces? No problem!knis your fast lane.
- Kubernetes: Install and Set Up kubectl
- Helm Documentation
- Kustomize Documentation
- kubectx and kubens
Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or submit a pull request.
This project is licensed under the MIT License.