# README
KOG
A KubeConfig manager for the lazy developer of today
Wizard
The main kog command, it will prompt the available Contexts and Namespaces to let you switch between them in a fast, lazy way... oh, and it allows you to filter... in case you have a gazillion of contexts
kog
Arrow Keys
With Filter
Merge
With great projects comes great clusters (cit. Uncle Ben).
This Command will merge the desired yaml file in your kubeconfig file
kog merge your/file/path/config.yaml
Alias
In my day by day job I need to access many clusters, and they share very similar names(thank you DevOps team ā¤) , lets give them some fancy new ones.
kog alias
Delete
Bored of a context? Delete it! nobody will notice it
kog delete
Port Forwarding
A wizard based port forwarding configuration.
kog forward
Info
Display the current Context and Namespace. Or the raw yaml file if you are brave enough
kog info
kog info --raw
Version
Display the current kog version
kog --version
Help
Display the help view, if you are too lazy to read the previous instructions... In such case, we are the same... I like you...
kog help
Global Flags
Flag | Alias | Optional | Description | Default |
---|---|---|---|---|
--config | -c | x | The config file to manage | $USERDIR/.kube/config |
--force | -f | x | Perform the operation forcing it even if no actual action is needed | false |
--verbose | -v | x | Display extended logs | false |
Install
Kog is making its first baby steps, It's available as standalone binaries for all major platforms that you can download and install by yourself, the only package manager from where you can download kog is Chocolatey on windows.
Why? because Ii mainly work on windows that's why
ā: Preferred Method
macOS š
Manual šØ
- Download the binary that fits your OS from Release page
- Copy kog executable file to an accessible directory on your Mac(e.g /usr/local/bin)
- Add the Folder to your PATH Environment variable, if not already configured
- Enjoy Kog
Linux š§
Manual šØ
- Download the binary that fits your OS from Release page
- Copy kog executable file to an accessible directory on your PC(e.g /usr/bin)
- Add the Folder to your PATH Environment variable, if not already configured
- Enjoy Kog
Windows šŖ
Manual šØ
- Download the binary that fits your OS from Release page
- Copy kog.exe file to an accessible directory on your PC(e.g C:\Users<YourUserName>\AppData\Local)
- Add the Folder to your PATH Environment variable, if not already configured
- Enjoy Kog
Chocolatey š¦ ā
Simply execute the choco command to install it
choco install kog
To update it
choco upgrade kog