Enable CoreDNS prometheus metrics plugin

- Update coredns container version from 1.0.1 to 1.3.0
- Enable prometheus /metrics plugin

Change-Id: I4e37db8dd95f2df08ad2cf51ae861b47eacda457
Task: 28900
Story: 2004623
Signed-off-by: Diogo Guerra <dy090.guerra@gmail.com>
This commit is contained in:
Diogo Guerra 2019-01-09 17:23:20 +01:00
parent 0bf9ccadcb
commit 09f880743d
1 changed files with 2 additions and 1 deletions

View File

@ -68,6 +68,7 @@ data:
kubernetes ${DNS_CLUSTER_DOMAIN} ${PORTAL_NETWORK_CIDR} ${PODS_NETWORK_CIDR} {
pods verified
}
prometheus :9153
proxy . /etc/resolv.conf
cache 30
}
@ -98,7 +99,7 @@ spec:
operator: "Exists"
containers:
- name: coredns
image: ${_dns_prefix}coredns:1.0.1
image: ${_dns_prefix}coredns:1.3.0
imagePullPolicy: IfNotPresent
args: [ "-conf", "/etc/coredns/Corefile" ]
volumeMounts: