This is a preliminary version of the Altinity Dashboard. It is used for viewing and managing Kubernetes-based ClickHouse installations controlled by clickhouse-operator.
How To Use
First, make sure you have a valid kubeconfig pointing to the Kubernetes cluster you want to work with.
From the repo root, run npm --prefix ./ui run install-git-hooks.
Run make lint to check that everything is working.
Setting up a development environment
Back-end development:
Set up your IDE to run make ui before compiling, so that the most recent UI gets embedded into the Go binary. If nothing in the UI has changed, make ui will not re-run the build unnecessarily.
Run the app in the debugger with adash -devmode. This will add a tab with Swagger UI that lets you exercise REST endpoints even if there isn't a UI for them yet.
Front-end development:
make ui-devel will start a filesystem watcher / hot reloader for UI development.