CoreDNS: Uplift to 1.7.0

* Uplift the CoreDNS image to 1.7.0 (aligning to k8s v1.20) [0]
* Update the Corefile based on corefile-tool migration [1]

Note that the previously-deprecated "upstream" option is removed in
1.7.0 [2], and if not removed from the Corefile, will cause the pods to
crashloop.

0: https://github.com/coredns/deployment/blob/master/kubernetes/CoreDNS-k8s_version.md
1: https://github.com/coredns/corefile-migration/tree/master/corefile-tool
2: https://github.com/coredns/coredns/pull/3737

Change-Id: I03882240e8335f09956e412345e783e9a897ed9a
This commit is contained in:
Phil Sphicas 2021-05-03 16:57:04 +00:00
parent ae6782b452
commit 06254b36ed
8 changed files with 14 additions and 10 deletions

View File

@ -3,14 +3,18 @@ conf:
corefile: |
.:53 {
errors
health
health {
lameduck 5s
}
autopath @kubernetes
kubernetes cluster.local 10.96.0.0/16 10.97.0.0/16 {
pods disabled
fallthrough in-addr.arpa ip6.arpa
}
prometheus :9253
forward . 8.8.8.8 8.8.4.4
forward . 8.8.8.8 8.8.4.4 {
max_concurrent 1000
}
cache 30
loop
ready
@ -24,7 +28,7 @@ conf:
images:
tags:
coredns: coredns/coredns:1.6.4
coredns: coredns/coredns:1.7.0
test: quay.io/airshipit/promenade:latest
pull_policy: "IfNotPresent"

View File

@ -566,7 +566,7 @@ data:
- kubernetes.default.svc.cluster.local
images:
tags:
coredns: coredns/coredns:1.6.4
coredns: coredns/coredns:1.7.0
test: quay.io/airshipit/promenade:master
source:
type: local

View File

@ -588,7 +588,7 @@ data:
images:
tags:
coredns: coredns/coredns:1.6.4
coredns: coredns/coredns:1.7.0
test: quay.io/airshipit/promenade:master
source:
type: local

View File

@ -463,7 +463,7 @@ data:
images:
tags:
coredns: coredns/coredns:1.6.4
coredns: coredns/coredns:1.7.0
test: quay.io/airshipit/promenade:master
source:
type: local

View File

@ -469,7 +469,7 @@ data:
images:
tags:
coredns: coredns/coredns:1.6.4
coredns: coredns/coredns:1.7.0
test: quay.io/airshipit/promenade:master
source:
type: local

View File

@ -477,7 +477,7 @@ data:
images:
tags:
coredns: coredns/coredns:1.6.4
coredns: coredns/coredns:1.7.0
test: quay.io/airshipit/promenade:master
source:
type: local

View File

@ -3,7 +3,7 @@ IMAGE_CALICO_CNI=quay.io/calico/cni:v1.11.2
IMAGE_CALICO_CTL=quay.io/calico/ctl:v1.6.3
IMAGE_CALICO_KUBE_CONTROLLERS=quay.io/calico/kube-controllers:v1.0.2
IMAGE_CALICO_NODE=quay.io/calico/node:v2.6.5
IMAGE_COREDNS=coredns/coredns:1.6.4
IMAGE_COREDNS=coredns/coredns:1.7.0
IMAGE_DEP_CHECK=quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
IMAGE_ETCD=quay.io/coreos/etcd:v3.4.13
IMAGE_HAPROXY=haproxy:1.8.3

View File

@ -1,5 +1,5 @@
# source_name, tag, cache_name
coredns/coredns,1.6.4,coredns
coredns/coredns,1.7.0,coredns
cwedgwood/kubectl,v1.20.5-1,kubectl
k8s.gcr.io/kube-apiserver-amd64,v1.20.5,apiserver
k8s.gcr.io/kube-controller-manager-amd64,v1.20.5,controller-manager