Downgrade coredns to 1.6.5 due to upgrade errors while migrating coredns configmap (Corefile) (#5960)

This commit is contained in:
Florian Ruynat
2020-04-22 14:27:52 +02:00
committed by GitHub
parent 8939196f0d
commit 1c187e9729
3 changed files with 7 additions and 8 deletions

View File

@@ -511,7 +511,9 @@ nginx_image_tag: 1.17
haproxy_image_repo: "{{ docker_image_repo }}/library/haproxy"
haproxy_image_tag: 1.9
coredns_version: "1.6.9"
# Coredns version should be supported by corefile-migration (or at least work with)
# bundle with kubeadm; if not 'basic' upgrade can sometimes fail
coredns_version: "1.6.5"
coredns_image_repo: "{{ docker_image_repo }}/coredns/coredns"
coredns_image_tag: "{{ coredns_version }}"

View File

@@ -22,17 +22,14 @@ data:
{% endif %}
.:53 {
errors
health
health {
lameduck 5s
}
ready
kubernetes {{ dns_domain }} in-addr.arpa ip6.arpa {
pods insecure
{% if enable_coredns_k8s_endpoint_pod_names %}
endpoint_pod_names
{% endif %}
{% if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}
upstream {{ upstream_dns_servers|join(' ') }}
{% else %}
upstream /etc/resolv.conf
{% endif %}
fallthrough in-addr.arpa ip6.arpa
}