From 5bf831be4e5b401a51a441d9f670c662621d48b4 Mon Sep 17 00:00:00 2001 From: Leif Ringstad Date: Tue, 19 Mar 2019 15:29:15 +0100 Subject: [PATCH] 0 timeout on exit --- templates/worker-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/worker-deployment.yaml b/templates/worker-deployment.yaml index 0be0516..b0882dd 100644 --- a/templates/worker-deployment.yaml +++ b/templates/worker-deployment.yaml @@ -46,7 +46,7 @@ spec: preStop: exec: # SIGTERM triggers a quick exit; gracefully terminate instead - command: ["bundle", "exec", "sidekiqctl", "quiet", "/tmp/sidekiq.pid"] + command: ["bundle", "exec", "sidekiqctl", "quiet", "/tmp/sidekiq.pid", "0"] {{- end }} {{- if .Values.application.secretName }} envFrom: