From 391158cfd0a8844783336d843746941f86f3bbd9 Mon Sep 17 00:00:00 2001 From: David Tesar <david.tesar@microsoft.com> Date: Fri, 21 Sep 2018 15:07:48 -0700 Subject: [PATCH] Add rest of dashboards --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 58c1f91b..787c7b5b 100644 --- a/README.md +++ b/README.md @@ -82,9 +82,25 @@ Prometheus ```shell export PROMETHEUS=$(kubectl get pods --namespace monitoring -l "app=prometheus" -o jsonpath="{.items[0].metadata.name}") -kubectl --namespace monitoring port-forward $PROMETHEUS 3000:3000 +kubectl --namespace monitoring port-forward $PROMETHEUS 9090:9090 ``` -Then access via [http://localhost:3000](http://localhost:3000) +Then access via [http://localhost:9090](http://localhost:9090) + +Grafana + +```shell +export GRAFANA=$(kubectl get pods --namespace monitoring -l "app=grafana" -o jsonpath="{.items[0].metadata.name}") +kubectl --namespace monitoring port-forward $GRAFANA 3000:3000 +``` +Then access via [http://localhost:3000](http://localhost:3000) and use the default grafana user:password of `admin:admin`. + +Alert Manager + +```shell +export ALERTMGR=$(kubectl get pods --namespace monitoring -l "app=alertmanager" -o jsonpath="{.items[0].metadata.name}") +kubectl --namespace monitoring port-forward $ALERTMGR 9093:9093 +``` +Then access via [http://localhost:9093](http://localhost:9093) ## Customizing Kube-Prometheus -- GitLab