kx
kx
is a utility to switch interactively between kubernetes contexts without any external dependencies and bash witchcraft. Written in Rust :crab:
Installation
From binary
You can directly download the kx executable.
Install from crates.io
Build Manually
Clone the repo and run:
Alternatively, run:
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