Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blendle/kns
quick Kubernetes Namespace Switcher
https://github.com/blendle/kns
kubernetes
Last synced: 7 days ago
JSON representation
quick Kubernetes Namespace Switcher
- Host: GitHub
- URL: https://github.com/blendle/kns
- Owner: blendle
- License: isc
- Created: 2017-05-05T13:54:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-25T20:34:02.000Z (about 1 year ago)
- Last Synced: 2024-07-31T07:18:51.605Z (3 months ago)
- Topics: kubernetes
- Language: Shell
- Size: 801 KB
- Stars: 286
- Watchers: 7
- Forks: 26
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - kns - quick Kubernetes Namespace Switcher (Shell)
README
# kns - quick Kubernetes Namespace Switcher
**kns** is a very small shellscript that utilizes [fzf](https://git.io/C4FBDw)
to switch between Kubernetes namespaces blazing fast. :fire:## Demo
![Demo](.github/kns-demo.gif)## Installation
To install **kns** you can just run this command:
```bash
curl https://raw.githubusercontent.com/blendle/kns/master/bin/kns -o /usr/local/bin/kns && chmod +x $_
```
Or use our homebrew tap:
```bash
brew tap blendle/blendle
brew install kns
```
That's it! Done! :raised_hands:### 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:
```bash
curl https://raw.githubusercontent.com/blendle/kns/master/bin/ktx -o /usr/local/bin/ktx && chmod +x $_
```