Update CoreDNS to 1.4.0 (#4422)

* Update CoreDNS to 1.4.0

* Update readme to reflect CoreDNS update
This commit is contained in:
Andreas Krüger
2019-04-04 09:40:50 +02:00
committed by Kubernetes Prow Robot
parent 3c050be0b0
commit 7a72e567d5
4 changed files with 15 additions and 6 deletions

View File

@@ -202,7 +202,7 @@ multus_image_tag: "{{ multus_version }}"
nginx_image_repo: nginx
nginx_image_tag: 1.13
coredns_version: "1.2.6"
coredns_version: "1.4.0"
coredns_image_repo: "coredns/coredns"
coredns_image_tag: "{{ coredns_version }}"

View File

@@ -22,9 +22,9 @@ data:
}
prometheus :9153
{% if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}
proxy . {{ upstream_dns_servers.join(' ') }}
forward . {{ upstream_dns_servers.join(' ') }}
{% else %}
proxy . /etc/resolv.conf
forward . /etc/resolv.conf
{% endif %}
cache 30
loop

View File

@@ -95,6 +95,15 @@ spec:
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 5
readinessProbe:
httpGet:
path: /health
port: 8080
scheme: HTTP
initialDelaySeconds: 60
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 5
dnsPolicy: Default
volumes:
- name: config-volume