Commit 8798640f authored by Sandeep Rajan's avatar Sandeep Rajan

add scrape port to service

parent f8c4907b
...@@ -161,6 +161,7 @@ metadata: ...@@ -161,6 +161,7 @@ metadata:
name: kube-dns name: kube-dns
namespace: kube-system namespace: kube-system
annotations: annotations:
prometheus.io/port: "9153"
prometheus.io/scrape: "true" prometheus.io/scrape: "true"
labels: labels:
k8s-app: kube-dns k8s-app: kube-dns
......
...@@ -161,6 +161,7 @@ metadata: ...@@ -161,6 +161,7 @@ metadata:
name: kube-dns name: kube-dns
namespace: kube-system namespace: kube-system
annotations: annotations:
prometheus.io/port: "9153"
prometheus.io/scrape: "true" prometheus.io/scrape: "true"
labels: labels:
k8s-app: kube-dns k8s-app: kube-dns
......
...@@ -161,6 +161,7 @@ metadata: ...@@ -161,6 +161,7 @@ metadata:
name: kube-dns name: kube-dns
namespace: kube-system namespace: kube-system
annotations: annotations:
prometheus.io/port: "9153"
prometheus.io/scrape: "true" prometheus.io/scrape: "true"
labels: labels:
k8s-app: kube-dns k8s-app: kube-dns
......
...@@ -189,6 +189,7 @@ metadata: ...@@ -189,6 +189,7 @@ metadata:
name: kube-dns name: kube-dns
namespace: kube-system namespace: kube-system
annotations: annotations:
prometheus.io/port: "9153"
prometheus.io/scrape: "true" prometheus.io/scrape: "true"
# Without this resourceVersion value, an update of the Service between versions will yield: # Without this resourceVersion value, an update of the Service between versions will yield:
# Service "kube-dns" is invalid: metadata.resourceVersion: Invalid value: "": must be specified for an update # Service "kube-dns" is invalid: metadata.resourceVersion: Invalid value: "": must be specified for an update
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment