diff --git a/build/dependencies.yaml b/build/dependencies.yaml index 26ec1f21403..27b4a7dffe9 100644 --- a/build/dependencies.yaml +++ b/build/dependencies.yaml @@ -22,7 +22,7 @@ dependencies: match: k8s.gcr.io/coredns - name: "coredns-kubeadm" - version: 1.6.7 + version: 1.7.0 refPaths: - path: cmd/kubeadm/app/constants/constants.go match: CoreDNSVersion = diff --git a/cmd/kubeadm/app/constants/constants.go b/cmd/kubeadm/app/constants/constants.go index 8051feed06b..27ce9147cb1 100644 --- a/cmd/kubeadm/app/constants/constants.go +++ b/cmd/kubeadm/app/constants/constants.go @@ -329,7 +329,7 @@ const ( KubeDNSVersion = "1.14.13" // CoreDNSVersion is the version of CoreDNS to be deployed if it is used - CoreDNSVersion = "1.6.7" + CoreDNSVersion = "1.7.0" // ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct ClusterConfigurationKind = "ClusterConfiguration" diff --git a/cmd/kubeadm/app/phases/addons/dns/dns_test.go b/cmd/kubeadm/app/phases/addons/dns/dns_test.go index 67cd9b2cf3f..129392e02cd 100644 --- a/cmd/kubeadm/app/phases/addons/dns/dns_test.go +++ b/cmd/kubeadm/app/phases/addons/dns/dns_test.go @@ -585,7 +585,9 @@ func TestCreateCoreDNSConfigMap(t *testing.T) { ttl 30 } prometheus :9153 - forward . /etc/resolv.conf + forward . /etc/resolv.conf { + max_concurrent 1000 + } cache 30 loop reload @@ -623,7 +625,9 @@ func TestCreateCoreDNSConfigMap(t *testing.T) { fallthrough in-addr.arpa ip6.arpa } prometheus :9153 - forward . /etc/resolv.conf + forward . /etc/resolv.conf { + max_concurrent 1000 + } k8s_external example.com cache 30 loop diff --git a/cmd/kubeadm/app/phases/addons/dns/manifests.go b/cmd/kubeadm/app/phases/addons/dns/manifests.go index f9288feb378..cfc13edd9a3 100644 --- a/cmd/kubeadm/app/phases/addons/dns/manifests.go +++ b/cmd/kubeadm/app/phases/addons/dns/manifests.go @@ -320,7 +320,9 @@ data: ttl 30 } prometheus :9153 - forward . {{ .UpstreamNameserver }} + forward . {{ .UpstreamNameserver }} { + max_concurrent 1000 + } cache 30 loop reload