Kubernetes Grafana Mixin
A set of Grafana dashboards for Kubernetes Administrators.
Currently works on 1.12 & 1.13 clusters. Untested on
How to use
This mixin is designed to be vendored into the repo with your infrastructure config. To do this, use jsonnet-bundler:
Recommended. Generate the grafana .json files and deploy them yourself.
If you want to just try them out the generated
.jsonfiles are commited in dashboards_out directory, just download them and import them via Grafana. But it's not recommended, because you won't receive updates.
Generate config files
You can manually generate the grafana .json files, but first you must install some tools:
$ make setup
$ brew install jsonnet
git clone https://github.com/google/jsonnet.git jsonnet_git cd jsonnet_git make sudo mv jsonnet /usr/local/bin/
Then, grab the mixin and its dependencies:
$ git clone https://github.com/povilasv/kubernetes-grafana-mixin $ cd kubernetes-grafana-mixin $ jb install
Finally, build the mixin:
$ make dashboards_out
The files in
dashboards_out directory can then be passed to your Grafana server, via file provisioning.