File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
cluster/manifests/01-coredns-local Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 25
25
prometheus.io/scrape : " true"
26
26
prometheus.io/port : " 9153"
27
27
spec :
28
+ terminationGracePeriodSeconds : 40
28
29
initContainers :
29
30
- name : ensure-apiserver
30
31
{{- if eq .Cluster.Provider "zalando-eks" }}
78
79
lifecycle :
79
80
preStop :
80
81
sleep :
81
- seconds : 25
82
+ seconds : 35
82
83
resources :
83
84
requests :
84
85
ephemeral-storage : 256Mi
@@ -158,6 +159,10 @@ spec:
158
159
limits :
159
160
cpu : {{.Cluster.ConfigItems.dns_dnsmasq_cpu}}
160
161
memory : {{.Cluster.ConfigItems.dns_dnsmasq_mem}}
162
+ lifecycle :
163
+ preStop :
164
+ sleep :
165
+ seconds : 35
161
166
- name : sidecar
162
167
{{- if eq .Cluster.Provider "zalando-eks" }}
163
168
image : 926694233939.dkr.ecr.eu-central-1.amazonaws.com/production_namespace/teapot/k8s-dns-sidecar:1.17.4-master-15
@@ -191,6 +196,10 @@ spec:
191
196
limits :
192
197
cpu : {{.Cluster.ConfigItems.dns_dnsmasq_sidecar_cpu}}
193
198
memory : {{.Cluster.ConfigItems.dns_dnsmasq_sidecar_mem}}
199
+ lifecycle :
200
+ preStop :
201
+ sleep :
202
+ seconds : 35
194
203
{{ end }}
195
204
- name : coredns
196
205
{{- if eq .Cluster.Provider "zalando-eks" }}
@@ -238,6 +247,10 @@ spec:
238
247
limits :
239
248
cpu : {{.Cluster.ConfigItems.dns_coredns_cpu}}
240
249
memory : {{.Cluster.ConfigItems.dns_coredns_mem}}
250
+ lifecycle :
251
+ preStop :
252
+ sleep :
253
+ seconds : 35
241
254
priorityClassName : system-node-critical
242
255
serviceAccountName : coredns
243
256
hostNetwork : true
You can’t perform that action at this time.
0 commit comments