Prometheus #
This document walks you through how to enable Prometheus on clusters
Create a cluster with Prometheus #
kwokctl create cluster --prometheus-port 9090
Create Grafana dashboard with Prometheus data source #
docker run -d --name=grafana -p 3000:3000 docker.io/grafana/grafana:9.4.7
- Open your web browser and go to http://localhost:3000
- On the login page, enter
adminfor username and password. - Add the Prometheus data source,
http://host.docker.internal:9090orhttp://hostIP:9090on Grafana, replacinghostIPwith the IP address of your host. - Import via
grafana.com code
16248on Grafana.
Now you can see the Grafana dashboard for the cluster.