From 8b478a11b8839bf97822db5d12a10b2a4ee89f40 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Sun, 22 Feb 2026 12:01:50 +0100 Subject: [PATCH] fix(deploy): use Recreate strategy to fit tenant CPU quota Single-replica deployment with tight CPU quota (1 core) cannot run two pods simultaneously during a rolling update. Recreate kills the old pod before starting the new one. --- backend/deploy/helm/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/deploy/helm/templates/deployment.yaml b/backend/deploy/helm/templates/deployment.yaml index 33ac88e..ee5f118 100644 --- a/backend/deploy/helm/templates/deployment.yaml +++ b/backend/deploy/helm/templates/deployment.yaml @@ -9,6 +9,8 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + strategy: + type: Recreate selector: matchLabels: {{- include "marktvogt-backend.selectorLabels" . | nindent 6 }}