A simple terminal dashboard for Kubernetes built with Rust
Thanks to the sponsors of @deepu105 who makes maintaining projects like KDash sustainable. Consider sponsoring if you like the work.
Gold and Silver tiers are open for Sponsors
```bash brew tap kdash-rs/kdash brew install kdash
brew install kdash-rs/kdash/kdash ```
To upgrade
bash
brew upgrade kdash
```bash scoop bucket add kdash-bucket https://github.com/kdash-rs/scoop-kdash
scoop install kdash ```
Chocolatey package is located here. Since validation of the package takes forever, it may take a long while to become available after a release. I would recommend using Scoop instead for Windows.
```bash choco install kdash
choco install kdash --version=0.4.3 ```
To upgrade
bash
choco upgrade kdash --version=0.4.3
Try out kdash via nix run nixpkgs#kdash
or add kdash
to your
configuration.nix
for permanent installation.
Run the below command to install the latest binary. Run with sudo if you don't have write access to /usr/local/bin
. Else the script will install to the current directory
sh
curl https://raw.githubusercontent.com/kdash-rs/kdash/main/deployment/getLatest.sh | bash
Binaries for macOS, Linux and Windows are available on the releases page
cd
to the file you just downloaded and run tar -C /usr/local/bin -xzf downloaded-file-name
. Use sudo if required.kdash
kdash.exe
Run KDash as a Docker container by mounting your KUBECONFIG
. For example the below command for the default path
bash
docker run --rm -it -v ~/.kube/config:/root/.kube/config deepu105/kdash
You can also clone this repo and run make docker
to build a docker image locally and run it using the above command
Note: This may not work properly if you run Kubernetes locally using Minikube or Kind
If you have Cargo installed then you install KDash from crates.io
```bash cargo install kdash
cargo install --locked kdash ```
Note: On Debian/Ubuntu you might need to install
libxcb-xfixes0-dev
andlibxcb-shape0-dev
. On Fedoralibxcb
andlibxcb-devel
would be needed.
Note: On Linux you might need to have package
xorg-dev
(Debian/Ubuntu) orxorg-x11-server-devel
(Fedora) or equivalent installed for the copy to clipboard features to work
Note: If you are getting compilation error from openSSL. Make sure perl and perl-core are installed for your OS.
You can also clone the repo and run cargo run
or make
to build and run the app
bash
kdash
Press ?
while running the app to see keybindings
-h, --help
: Prints help information-V, --version
: Prints version information-t, --tick-rate <tick-rate>
: Set the tick rate (milliseconds): the lower the number the higher the FPS.-p, --poll-rate <poll-rate>
: Set the network call polling rate (milliseconds, should be multiples of tick-rate): the lower the number the higher the network calls.k3d cluster create --api-port 127.0.0.1:6550
or change the cluster.server
value in your .kube/config
for the k3d cluster to 127.0.0.1:<port>
-p
flag)K9S is a beast compared to this as it offers way more features including CRUD actions.
KDash only offers a view of the resources with a focus on speed and UX. Really, if something is slow or has bad UX then please raise a bug. Hence the UI/UX is designed to be more user-friendly and easier to navigate with contextual help everywhere and a tab system to switch between different resources easily.
At least for now, there are no plans to add full CRUD for resources but in the future, we might.
MIT