Skip to content

Commit 695a820

Browse files
authored
Prevent failing DNS requests on shutdown of CoreDNS pods
Adopt changes from coredns/helm#204
1 parent e3cbe11 commit 695a820

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ data:
6868
.:53 {
6969
errors
7070
health {
71-
lameduck 5s
71+
lameduck 10s
7272
}
7373
ready
7474
kubernetes {{ KubeDNS.Domain }}. in-addr.arpa ip6.arpa {
@@ -219,6 +219,9 @@ spec:
219219
successThreshold: 1
220220
failureThreshold: 5
221221
readinessProbe:
222+
periodSeconds: 5
223+
timeoutSeconds: 5
224+
failureThreshold: 1
222225
httpGet:
223226
path: /ready
224227
port: 8181

0 commit comments

Comments
 (0)