This monitoring stack is based on kube-prometheus. We also took inspiration from how k8s.io is monitoring ProwJobs.
This is how you apply it in the cluster:
kubectl apply -f manifests/setup
kubectl apply -f manifests
kubectl apply -f prow-rules.yaml
The manifests
are rendered using jsonnet based on
metal3-kube-prometheus.jsonnet
. Use the build script to render them after
making changes:
make build
For now, we have not exposed grafana or any other component. You can access them by using port-forward like this (after setting up access to the cluster itself):
kubectl -n monitoring port-forward svc/grafana 3000
Then go to localhost:3000.