Kubekit fast kubernetes cli operations

Managing Kubernetes clusters, contexts, and namespaces can be time-consuming. But fear not! I’ve got you covered with three KubeKit smart tools: k, kc, and kn. These tools will streamline your workflow and make your life easier.

TL;DR

Full KubeKit installation:

curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo bash -s -- -a

Features

Installation

To install KubeKit, follow these steps:

  1. Install kubectl only:
    curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo bash
    
  2. Install kubectl with kc (context) and kn (namespace) aliases operations:
    • Linux (bash):
      curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo bash -s -- -a
      
    • MacOS (zsh):
      curl -sL https://github.com/nh4ttruong/kubekit/raw/main/install.sh | sudo zsh -s -- -a
      
  3. Manual install from repository:
    git clone https://github.com/nh4ttruong/kubekit.git
    cd kubekit
    bash ./install.sh -a
    

The -a or --alias option is optional and allows you to install quick aliases for context kc and namespace kn operations.

Usage

Once installed, you can use KubeKit to enhance your Kubernetes workflow:

For more information on KubeKit usage, refer to run kc -h and kn -h for help.

Reference

Contributing

Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or submit a pull request.