Browse Source

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
changes/91/789391/2
Phil Sphicas 2 months ago
parent
commit
06254b36ed
8 changed files with 14 additions and 10 deletions
  1. +7
    -3
      charts/coredns/values.yaml
  2. +1
    -1
      examples/basic/armada-resources.yaml
  3. +1
    -1
      examples/complete/armada-resources.yaml
  4. +1
    -1
      examples/containerd/armada-resources.yaml
  5. +1
    -1
      examples/gate/armada-resources.yaml
  6. +1
    -1
      tests/unit/builder_data/simple/armada-resources.yaml
  7. +1
    -1
      tools/gate/default-config-env
  8. +1
    -1
      tools/registry/IMAGES

+ 7
- 3
charts/coredns/values.yaml 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"


+ 1
- 1
examples/basic/armada-resources.yaml 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


+ 1
- 1
examples/complete/armada-resources.yaml 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


+ 1
- 1
examples/containerd/armada-resources.yaml 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


+ 1
- 1
examples/gate/armada-resources.yaml 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


+ 1
- 1
tests/unit/builder_data/simple/armada-resources.yaml 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


+ 1
- 1
tools/gate/default-config-env 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


+ 1
- 1
tools/registry/IMAGES 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


Loading…
Cancel
Save