Browse Source

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>
changes/48/630748/1
Diogo Guerra 3 years ago
parent
commit
09f880743d
  1. 3
      magnum/drivers/common/templates/kubernetes/fragments/core-dns-service.sh

3
magnum/drivers/common/templates/kubernetes/fragments/core-dns-service.sh

@ -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:

Loading…
Cancel
Save