Skip to content
Kubernetes Grafana Dashboards Mixin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dashboards Fix Kube scheduler uid May 2, 2019
dashboards_out
lib Initial commit Jan 24, 2019
vendor/grafonnet Initial commit Jan 24, 2019
.travis.yml Add README Apr 26, 2019
LICENSE Update LICENSE Apr 26, 2019
Makefile Add README Apr 26, 2019
README.md Improve readme May 14, 2019
config.libsonnet Add Kubelet Jan 24, 2019
jsonnetfile.json
jsonnetfile.lock.json
mixin.libsonnet Initial commit Jan 24, 2019
setup_jsonnet.sh Add README Apr 26, 2019

README.md

Kubernetes Grafana Mixin

A set of Grafana dashboards for Kubernetes Administrators.

Currently works on 1.12 & 1.13 clusters. Untested on 1.14.

How to use

This mixin is designed to be vendored into the repo with your infrastructure config. To do this, use jsonnet-bundler:

  1. Recommended. Generate the grafana .json files and deploy them yourself.

  2. If you want to just try them out the generated .json files 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

Mac:

$ brew install jsonnet

Linux:

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.

You can’t perform that action at this time.