cmeury / kns

quick Kubernetes Namespace Switcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kns - quick Kubernetes Namespace Switcher

kns is a very small shellscript that utilizes fzf to switch between Kubernetes namespaces blazing fast. 🔥

Demo

Demo

Installation

To install kns you can just run this command:

curl https://raw.githubusercontent.com/blendle/kns/master/bin/kns -o /usr/local/bin/kns && chmod +x $_

Or use our homebrew tap:

brew tap blendle/blendle
brew install kns

That's it! Done! 🙌

ktx - the quick context switcher

For those of you that deal with a lot of clusters regularly, there's also ktx to switch between contexts. It does not connect to any api-server, but only displays information from kubectl configuration. It is included in the homebrew package (see above) or you can manually install it too:

curl https://raw.githubusercontent.com/blendle/kns/master/bin/ktx -o /usr/local/bin/ktx && chmod +x $_

About

quick Kubernetes Namespace Switcher

License:ISC License


Languages

Language:Shell 100.0%