From e1db00daedefb42ba65d69af8d090bed22b41c28 Mon Sep 17 00:00:00 2001 From: eedugon <edu.gherran@gmail.com> Date: Wed, 2 Aug 2017 11:38:26 +0200 Subject: [PATCH] Update developing-alerts-and-dashboards.md --- docs/developing-alerts-and-dashboards.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/developing-alerts-and-dashboards.md b/docs/developing-alerts-and-dashboards.md index 908e1132..cae67926 100644 --- a/docs/developing-alerts-and-dashboards.md +++ b/docs/developing-alerts-and-dashboards.md @@ -29,7 +29,11 @@ To edit/create a dashboard login to Grafana and modify and save the dashboard. T Note: The dashboard json file to be copied in `assets/grafana/` should be suffixed with `-dashboard.json`, otherwise it won't be processed by `make generate`. Then the generated manifest can be applied against a Kubernetes cluster with something like: -`kubectl -n monitoring apply -f manifests/grafana/grafana-dashboards.yaml` +``` +kubectl -n monitoring apply -f manifests/grafana/grafana-dashboards.yaml +``` And to apply the changes, restart grafana: -`kubectl -n monitoring delete pod -l app=grafana` +``` +kubectl -n monitoring delete pod -l app=grafana +``` -- GitLab