Krkn Dashboard
The Krkn Dashboard is a web UI for running and observing Krkn chaos scenarios. You can run it locally (Node.js on your machine), containerized (Podman/Docker), or via krknctl.
Prerequisites (all methods)
- Kubernetes cluster — You need a cluster and a kubeconfig so that the dashboard can target it for chaos runs. If you don’t have one, see Kubernetes, minikube, K3s, or OpenShift.
- Podman or Docker — The dashboard starts chaos runs by launching krkn-hub containers; the host must have Podman (or Docker) installed and available.
Local installation
Run the dashboard on your machine with Node.js.
Install Node.js — Install from nodejs.org
Clone the repository.
git clone https://github.com/krkn-chaos/krkn-dashboard.git cd krkn-dashboardInstall dependencies.
npm installStart the application.
npm run dev
Container installation
Run the dashboard in a container on your host. The container uses Podman on the host to start krkn-hub chaos containers.
Clone the repository.
git clone https://github.com/krkn-chaos/krkn-dashboard.git cd krkn-dashboardNOTE: You can optionally point the script at your local kubeconfig by exporting
KUBECONFIG_PATHbefore you run it:export KUBECONFIG_PATH=<path/to/kubeconfig>If you do not set
KUBECONFIG_PATH, the script uses<path/to/dashboard>/src/assets/kubeconfigby default. If using the default, you can copy your kubeconfig to that location.In all cases, you can skip this configuration and upload a different kubeconfig from the dashboard UI.
Start the container. From the
krkn-dashboardrepository root, run:bash containers/podman-run.sh
Run with krknctl
You can start the Krkn Dashboard using krknctl instead of cloning the repository or building a container image.
Install krknctl — Follow the steps in install krknctl.
Launch the dashboard — The
--kubeconfigflag is required. Pass the path to the kubeconfig for the cluster you want to target:krknctl dashboard --kubeconfig <path/to/kubeconfig>Replace
<path/to/kubeconfig>with the path to your kubeconfig file. Optional flags can be viewed withkrknctl dashboard --helporkrknctl dashboard -h.
Open the dashboard
When the dashboard is running, open http://localhost:3000 in your browser. Use the dashboard to trigger Krkn scenarios.
Documentation
- Krkn Dashboard overview and features — what is krkn dashboard and how it fits with krkn-hub.
- Using the UI — navigating the dashboard.