Files
kube-prometheus/manifests/grafana-dashboardDatasources.yaml
Max Leonard Inden 603771ff14 kube-prometheus: Run node-exporter in host network
Node exporter needs to run in the host network, not in the pod network
in order to pick up network metrics of the node.
2018-06-15 11:47:51 +02:00

22 lines
492 B
YAML

apiVersion: v1
data:
prometheus.yaml: |-
{
"apiVersion": 1,
"datasources": [
{
"access": "proxy",
"editable": false,
"name": "prometheus",
"orgId": 1,
"type": "prometheus",
"url": "http://prometheus-k8s.monitoring.svc:9090",
"version": 1
}
]
}
kind: ConfigMap
metadata:
name: grafana-datasources
namespace: monitoring