KubeKit - Fast Kubernetes Tools Installation & Operation

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.
Motivation
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.
Usage
Once installed, you can use KubeKit to enhance your Kubernetes workflow:
Use
kas short version ofkubectlUse
helmfor chart/package operationsUse
kustomizefor manifest customizationUse
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.
Installation
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 bash
For macOS, please using zsh instead:
curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo zsh
After a successful installation, follow the guide and run the command to reload your shell configuration for completion to work:
source ~/.bashrc
#or
source ~/.zshrc
kubectl, helm, and kustomize binaries on Linux/macOS and configures shell completion for them.Options
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-aliasesSkip 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-kustomizeUpdate version for specific tool:
curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo bash -s -- --update <tool> # kubectl, helm, kustomize
Manual
Manual install from repository:
git clone https://github.com/nh4ttruong/kubekit.git
cd kubekit
bash ./install.sh
k, kc, and kn are installed with their completion setup.Features
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.
References
Contributing
Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or submit a pull request.





