Add rest of dashboards

This commit is contained in:
David Tesar
2018-09-21 15:07:48 -07:00
committed by GitHub
parent be14369fad
commit 391158cfd0

View File

@@ -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