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:
parent
ae6782b452
commit
06254b36ed
|
@ -3,14 +3,18 @@ conf:
|
||||||
corefile: |
|
corefile: |
|
||||||
.:53 {
|
.:53 {
|
||||||
errors
|
errors
|
||||||
health
|
health {
|
||||||
|
lameduck 5s
|
||||||
|
}
|
||||||
autopath @kubernetes
|
autopath @kubernetes
|
||||||
kubernetes cluster.local 10.96.0.0/16 10.97.0.0/16 {
|
kubernetes cluster.local 10.96.0.0/16 10.97.0.0/16 {
|
||||||
pods disabled
|
pods disabled
|
||||||
fallthrough in-addr.arpa ip6.arpa
|
fallthrough in-addr.arpa ip6.arpa
|
||||||
}
|
}
|
||||||
prometheus :9253
|
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
|
cache 30
|
||||||
loop
|
loop
|
||||||
ready
|
ready
|
||||||
|
@ -24,7 +28,7 @@ conf:
|
||||||
|
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
coredns: coredns/coredns:1.6.4
|
coredns: coredns/coredns:1.7.0
|
||||||
test: quay.io/airshipit/promenade:latest
|
test: quay.io/airshipit/promenade:latest
|
||||||
pull_policy: "IfNotPresent"
|
pull_policy: "IfNotPresent"
|
||||||
|
|
||||||
|
|
|
@ -566,7 +566,7 @@ data:
|
||||||
- kubernetes.default.svc.cluster.local
|
- kubernetes.default.svc.cluster.local
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
coredns: coredns/coredns:1.6.4
|
coredns: coredns/coredns:1.7.0
|
||||||
test: quay.io/airshipit/promenade:master
|
test: quay.io/airshipit/promenade:master
|
||||||
source:
|
source:
|
||||||
type: local
|
type: local
|
||||||
|
|
|
@ -588,7 +588,7 @@ data:
|
||||||
|
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
coredns: coredns/coredns:1.6.4
|
coredns: coredns/coredns:1.7.0
|
||||||
test: quay.io/airshipit/promenade:master
|
test: quay.io/airshipit/promenade:master
|
||||||
source:
|
source:
|
||||||
type: local
|
type: local
|
||||||
|
|
|
@ -463,7 +463,7 @@ data:
|
||||||
|
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
coredns: coredns/coredns:1.6.4
|
coredns: coredns/coredns:1.7.0
|
||||||
test: quay.io/airshipit/promenade:master
|
test: quay.io/airshipit/promenade:master
|
||||||
source:
|
source:
|
||||||
type: local
|
type: local
|
||||||
|
|
|
@ -469,7 +469,7 @@ data:
|
||||||
|
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
coredns: coredns/coredns:1.6.4
|
coredns: coredns/coredns:1.7.0
|
||||||
test: quay.io/airshipit/promenade:master
|
test: quay.io/airshipit/promenade:master
|
||||||
source:
|
source:
|
||||||
type: local
|
type: local
|
||||||
|
|
|
@ -477,7 +477,7 @@ data:
|
||||||
|
|
||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
coredns: coredns/coredns:1.6.4
|
coredns: coredns/coredns:1.7.0
|
||||||
test: quay.io/airshipit/promenade:master
|
test: quay.io/airshipit/promenade:master
|
||||||
source:
|
source:
|
||||||
type: local
|
type: local
|
||||||
|
|
|
@ -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_CTL=quay.io/calico/ctl:v1.6.3
|
||||||
IMAGE_CALICO_KUBE_CONTROLLERS=quay.io/calico/kube-controllers:v1.0.2
|
IMAGE_CALICO_KUBE_CONTROLLERS=quay.io/calico/kube-controllers:v1.0.2
|
||||||
IMAGE_CALICO_NODE=quay.io/calico/node:v2.6.5
|
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_DEP_CHECK=quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
|
||||||
IMAGE_ETCD=quay.io/coreos/etcd:v3.4.13
|
IMAGE_ETCD=quay.io/coreos/etcd:v3.4.13
|
||||||
IMAGE_HAPROXY=haproxy:1.8.3
|
IMAGE_HAPROXY=haproxy:1.8.3
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# source_name, tag, cache_name
|
# source_name, tag, cache_name
|
||||||
coredns/coredns,1.6.4,coredns
|
coredns/coredns,1.7.0,coredns
|
||||||
cwedgwood/kubectl,v1.20.5-1,kubectl
|
cwedgwood/kubectl,v1.20.5-1,kubectl
|
||||||
k8s.gcr.io/kube-apiserver-amd64,v1.20.5,apiserver
|
k8s.gcr.io/kube-apiserver-amd64,v1.20.5,apiserver
|
||||||
k8s.gcr.io/kube-controller-manager-amd64,v1.20.5,controller-manager
|
k8s.gcr.io/kube-controller-manager-amd64,v1.20.5,controller-manager
|
||||||
|
|
Loading…
Reference in New Issue