Content-Length: 514586 | pFad | http://github.com/cilium/cilium/commit/78c1141166e4d994ea1ba4ba3b4e68270a9bfad4

E8 test/contrib: Bump CoreDNS version to 1.8.3 · cilium/cilium@78c1141 · GitHub
Skip to content

Commit 78c1141

Browse files
brbtklauser
authored andcommitted
test/contrib: Bump CoreDNS version to 1.8.3
[ upstream commit 398d55c ] As reported in [1], Go's HTTP2 client < 1.16 had some serious bugs which could result in lost connections to kube-apiserver. Worse than this was that the client couldn't recover. In the case of CoreDNS the loose of connectivity to kube-apiserver was even not logged. I have validated this by adding the following rule on the node which was running the CoreDNS pod (6443 port as the socket-lb was doing the service xlation): iptables -I FORWARD 1 -m tcp --proto tcp --src $CORE_DNS_POD_IP \ --dport=6443 -j DROP After upgrading CoreDNS to the one which was compiled with Go >= 1.16, the pod was not only logging the errors, but also was able to recover from them in a fast way. An example of such an error: W1126 12:45:08.403311 1 reflector.go:436] pkg/mod/k8s.io/client-go@v0.20.2/tools/cache/reflector.go:167: watch of *v1.Endpoints ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding To determine the min vsn bump, I was using the following: for i in 1.7.0 1.7.1 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4; do docker run --rm -ti "k8s.gcr.io/coredns/coredns:v$i" \ --version done CoreDNS-1.7.0 linux/amd64, go1.14.4, f59c03d CoreDNS-1.7.1 linux/amd64, go1.15.2, aa82ca6 CoreDNS-1.8.0 linux/amd64, go1.15.3, 054c9ae k8s.gcr.io/coredns/coredns:v1.8.1 not found: manifest unknown: k8s.gcr.io/coredns/coredns:v1.8.2 not found: manifest unknown: CoreDNS-1.8.3 linux/amd64, go1.16, 4293992 CoreDNS-1.8.4 linux/amd64, go1.16.4, 053c4d5 Hopefully, the bumped version will fix the CI flakes in which a service domain name is not available after 7min. In other words, CoreDNS is not able to resolve the name which means that it hasn't received update from the kube-apiserver for the service. [1]: kubernetes/kubernetes#87615 (comment) Signed-off-by: Martynas Pumputis <m@lambda.lt> Signed-off-by: nathanjsweet <nathanjsweet@pm.me>
1 parent d5ff3f7 commit 78c1141

File tree

9 files changed

+16
-9
lines changed

9 files changed

+16
-9
lines changed

test/provision/manifest/1.16/coredns_deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ spec:
123123
operator: "Exists"
124124
containers:
125125
- name: coredns
126-
image: k8s.gcr.io/coredns:1.7.0
126+
image: k8s.gcr.io/coredns/coredns:v1.8.3
127127
imagePullPolicy: IfNotPresent
128128
resources:
129129
limits:

test/provision/manifest/1.16/eks/coredns_deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ spec:
118118
operator: "Exists"
119119
containers:
120120
- name: coredns
121-
image: k8s.gcr.io/coredns:1.7.0
121+
image: k8s.gcr.io/coredns/coredns:v1.8.3
122122
imagePullPolicy: IfNotPresent
123123
resources:
124124
limits:

test/provision/manifest/1.17/coredns_deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ spec:
125125
operator: "Exists"
126126
containers:
127127
- name: coredns
128-
image: k8s.gcr.io/coredns:1.7.0
128+
image: k8s.gcr.io/coredns/coredns:v1.8.3
129129
imagePullPolicy: IfNotPresent
130130
resources:
131131
limits:

test/provision/manifest/1.17/eks/coredns_deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ spec:
125125
operator: "Exists"
126126
containers:
127127
- name: coredns
128-
image: k8s.gcr.io/coredns:1.7.0
128+
image: k8s.gcr.io/coredns/coredns:v1.8.3
129129
imagePullPolicy: IfNotPresent
130130
resources:
131131
limits:

test/provision/manifest/1.18/coredns_deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ spec:
125125
operator: "Exists"
126126
containers:
127127
- name: coredns
128-
image: k8s.gcr.io/coredns:1.7.0
128+
image: k8s.gcr.io/coredns/coredns:v1.8.3
129129
imagePullPolicy: IfNotPresent
130130
resources:
131131
limits:

test/provision/manifest/1.18/eks/coredns_deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ spec:
125125
operator: "Exists"
126126
containers:
127127
- name: coredns
128-
image: k8s.gcr.io/coredns:1.7.0
128+
image: k8s.gcr.io/coredns/coredns:v1.8.3
129129
imagePullPolicy: IfNotPresent
130130
resources:
131131
limits:

test/provision/manifest/1.19/coredns_deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ spec:
139139
kubernetes.io/os: linux
140140
containers:
141141
- name: coredns
142-
image: k8s.gcr.io/coredns:1.7.0
142+
image: k8s.gcr.io/coredns/coredns:v1.8.3
143143
imagePullPolicy: IfNotPresent
144144
resources:
145145
limits:

test/provision/manifest/1.19/eks/coredns_deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ spec:
138138
kubernetes.io/os: linux
139139
containers:
140140
- name: coredns
141-
image: k8s.gcr.io/coredns:1.7.0
141+
image: k8s.gcr.io/coredns/coredns:v1.8.3
142142
imagePullPolicy: IfNotPresent
143143
resources:
144144
limits:

test/provision/manifest/coredns_deployment.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spec:
3333
- args:
3434
- -conf
3535
- /etc/coredns/Corefile
36-
image: docker.io/coredns/coredns:1.0.6
36+
image: k8s.gcr.io/coredns/coredns:v1.8.3
3737
imagePullPolicy: IfNotPresent
3838
livenessProbe:
3939
failureThreshold: 5
@@ -124,6 +124,13 @@ rules:
124124
verbs:
125125
- list
126126
- watch
127+
- apiGroups:
128+
- discovery.k8s.io
129+
resources:
130+
- endpointslices
131+
verbs:
132+
- list
133+
- watch
127134
---
128135
apiVersion: rbac.authorization.k8s.io/v1
129136
kind: ClusterRoleBinding

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/cilium/cilium/commit/78c1141166e4d994ea1ba4ba3b4e68270a9bfad4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy