mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-18 11:40:10 -03:30
Downgrade coredns to 1.6.5 due to upgrade errors while migrating coredns configmap (Corefile) (#5960)
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user