This repository collects Kubernetes manifests, Grafana dashboards, and Prometheus rules to monitor openebs with the help of kube-prometheus stack.
The content of this project is written in jsonnet. This project could both be described as a package as well as a library.
-
Clone the repo:
$ git clone https://github.com/openebs/monitoring $ cd monitoring/jsonnet
-
Generate the manifests:
$ make generate
The files in
manifests/
are the yamls that have to be applied on the kubernetes cluster. -
Apply the kube-prometheus stack and openebs monitoring addons:
The previous step has generated a bunch of manifest files in themanifests/
directory. Now simply use kubectl to install Prometheus and Grafana as per your configuration:# Apply kube-prometheus stack yamls $ kubectl apply -f manifests/setup $ kubectl apply -f manifests/ # Apply the openebs monitoring addons $ kubectl apply -f manifests/openebs-addons