manifests/k8s: add service for discovering kube-dns metrics

The ports reflect the upstream kube-dns manifests of bootkube and
kubernetes/kubernetes.
This commit is contained in:
Frederic Branczyk
2016-12-02 14:01:02 +01:00
parent d0c1fb522b
commit a40ca507c6
3 changed files with 22 additions and 2 deletions

View File

@@ -65,4 +65,4 @@ scrape_configs:
regex: "kube-(.*)-prometheus-discovery"
- action: keep
source_labels: [__meta_kubernetes_endpoint_port_name]
regex: "prometheus"
regex: "prometheus.*"