@@ -101,7 +101,7 @@ spec:
101
101
exec : # https://blog.laputa.io/graceful-shutdown-in-kubernetes-85f1c8d586da
102
102
# kubeproxy and kubelet both race
103
103
# wait a bit to ensure kubeproxy has removed the iptables rule.
104
- command : [ "sleep", {{ .Values.st2auth.preStopSleep | default 10 }} ]
104
+ command : [ "sleep", {{ .Values.st2auth.preStopSleep | default "10" }} ]
105
105
postStart :
106
106
exec :
107
107
command : ["/bin/bash", "/post-start.sh"]
@@ -231,7 +231,7 @@ spec:
231
231
exec : # https://blog.laputa.io/graceful-shutdown-in-kubernetes-85f1c8d586da
232
232
# kubeproxy and kubelet both race
233
233
# wait a bit to ensure kubeproxy has removed the iptables rule.
234
- command : [ "sleep", {{ .Values.st2api.preStopSleep | default 10 }} ]
234
+ command : [ "sleep", {{ .Values.st2api.preStopSleep | default "10" }} ]
235
235
postStart :
236
236
exec :
237
237
command : ["/bin/bash", "/post-start.sh"]
@@ -354,7 +354,7 @@ spec:
354
354
exec : # https://blog.laputa.io/graceful-shutdown-in-kubernetes-85f1c8d586da
355
355
# kubeproxy and kubelet both race
356
356
# wait a bit to ensure kubeproxy has removed the iptables rule.
357
- command : [ "sleep", {{ .Values.st2stream.preStopSleep | default 10 }} ]
357
+ command : [ "sleep", {{ .Values.st2stream.preStopSleep | default "10" }} ]
358
358
postStart :
359
359
exec :
360
360
command : ["/bin/bash", "/post-start.sh"]
@@ -438,7 +438,7 @@ spec:
438
438
exec : # https://blog.laputa.io/graceful-shutdown-in-kubernetes-85f1c8d586da
439
439
# kubeproxy and kubelet both race
440
440
# wait a bit to ensure kubeproxy has removed the iptables rule.
441
- command : [ "sleep", {{ .Values.st2web.preStopSleep | default 10 }} ]
441
+ command : [ "sleep", {{ .Values.st2web.preStopSleep | default "10" }} ]
442
442
# Probe to check if app is running. Failure will lead to a pod restart.
443
443
livenessProbe :
444
444
httpGet :
0 commit comments