From 17509063be889f31aca9ec2aca61b102881ea04b Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Tue, 17 May 2022 15:54:26 +0200 Subject: [PATCH] invidious: fix hang on container stop cycle --- deploy/base/deploy-invidious.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy/base/deploy-invidious.yaml b/deploy/base/deploy-invidious.yaml index 613bf90..f4e8343 100644 --- a/deploy/base/deploy-invidious.yaml +++ b/deploy/base/deploy-invidious.yaml @@ -93,6 +93,10 @@ spec: limits: memory: "256Mi" cpu: "500m" + lifecycle: + preStop: + exec: + command: ["kill", "-INT", "1"] livenessProbe: failureThreshold: 10 httpGet: