5 stable releases
1.3.0 | Feb 25, 2023 |
---|---|
1.2.0 | May 29, 2021 |
1.1.1 | Oct 9, 2020 |
1.1.0 | Sep 8, 2020 |
0.0.0 |
|
#1128 in Development tools
30 downloads per month
13KB
224 lines
kx
kx
is a utility to switch interactively between kubernetes contexts without any external dependencies and bash witchcraft. Written in Rust 🦀
Installation
From binary
You can directly download the kx executable.
Install from crates.io
cargo install kx
Build Manually
Clone the repo and run:
cargo install --path .
Alternatively, run:
cargo build --release
then put the resulting target/release/kx
executable on your PATH.
Usage
kx : list the contexts
kx <NAME> : switch to context <NAME>
kx -c, --current : show the current context name
kx -u, --unset : unset the current context
Todo
Dependencies
~14MB
~260K SLoC