Merge pull request #89304 from otterley/nodelocaldnsmetrics

nodelocaldns: have Prometheus collect metrics
This commit is contained in:
Kubernetes Prow Robot 2020-03-20 17:58:57 -07:00 committed by GitHub
commit 739d01a244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,8 +121,11 @@ spec:
k8s-app: node-local-dns
template:
metadata:
labels:
k8s-app: node-local-dns
labels:
k8s-app: node-local-dns
annotations:
prometheus.io/port: "9253"
prometheus.io/scrape: "true"
spec:
priorityClassName: system-node-critical
serviceAccountName: node-local-dns