Categorygithub.com/davidemaggi/kog
repositorypackage
1.1.2
Repository: https://github.com/davidemaggi/kog.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# 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

FlagAliasOptionalDescriptionDefault
--config-cxThe config file to manage$USERDIR/.kube/config
--force-fxPerform the operation forcing it even if no actual action is neededfalse
--verbose-vxDisplay extended logsfalse

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 šŸ”Ø

  1. Download the binary that fits your OS from Release page
  2. Copy kog executable file to an accessible directory on your Mac(e.g /usr/local/bin)
  3. Add the Folder to your PATH Environment variable, if not already configured
  4. Enjoy Kog

Linux 🐧

Manual šŸ”Ø

  1. Download the binary that fits your OS from Release page
  2. Copy kog executable file to an accessible directory on your PC(e.g /usr/bin)
  3. Add the Folder to your PATH Environment variable, if not already configured
  4. Enjoy Kog

Windows 🪟

Manual šŸ”Ø

  1. Download the binary that fits your OS from Release page
  2. Copy kog.exe file to an accessible directory on your PC(e.g C:\Users<YourUserName>\AppData\Local)
  3. Add the Folder to your PATH Environment variable, if not already configured
  4. Enjoy Kog

Chocolatey šŸ“¦ ⭐

Simply execute the choco command to install it

choco install kog

To update it

choco upgrade kog