2018-01-28 07:26:41 +01:00
|
|
|
## Grafana
|
|
|
|
|
|
|
|
Grafana can be used to build dashboards and visualizations that use Prometheus as the datasource. Create the grafana deployment and service.
|
|
|
|
|
|
|
|
```
|
|
|
|
kubectl apply -f addons/grafana -R
|
|
|
|
```
|
|
|
|
|
|
|
|
Use `kubectl` to authenticate to the apiserver and create a local port-forward to the Grafana pod.
|
|
|
|
|
|
|
|
```
|
|
|
|
kubectl port-forward grafana-POD-ID 8080 -n monitoring
|
|
|
|
```
|
|
|
|
|
|
|
|
Visit [127.0.0.1:8080](http://127.0.0.1:8080) to view the bundled dashboards.
|
|
|
|
|
2019-02-18 21:05:27 +01:00
|
|
|
![Grafana etcd](../img/grafana-etcd.png)
|
|
|
|
![Grafana resources cluster](../img/grafana-resources-cluster.png)
|
|
|
|
![Grafana usage cluster](../img/grafana-usage-cluster.png)
|
|
|
|
![Grafana usage node](../img/grafana-usage-node.png)
|
2018-01-28 07:26:41 +01:00
|
|
|
|