Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 964 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 964 Bytes

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 $_