From fd879ba02633e180dd0b2f4c2a670af556529eef Mon Sep 17 00:00:00 2001 From: vikingowl Date: Fri, 27 Feb 2026 14:17:02 +0100 Subject: [PATCH] fix(deploy): use maxSurge=0 for rolling update to fit resource quota MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit maxSurge=1 requires a second pod during rollout, but the tenant ResourceQuota (1 CPU limit) is already at 900m — the extra 250m exceeds the cap and the pod can't schedule, causing a 5min timeout. Switch to maxSurge=0/maxUnavailable=1 (kill-then-start) to stay within quota. Matches the web deployment strategy. --- backend/deploy/helm/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/deploy/helm/templates/deployment.yaml b/backend/deploy/helm/templates/deployment.yaml index 190af1f..de9022c 100644 --- a/backend/deploy/helm/templates/deployment.yaml +++ b/backend/deploy/helm/templates/deployment.yaml @@ -12,8 +12,8 @@ spec: strategy: type: RollingUpdate rollingUpdate: - maxUnavailable: 0 - maxSurge: 1 + maxSurge: 0 + maxUnavailable: 1 selector: matchLabels: {{- include "marktvogt-backend.selectorLabels" . | nindent 6 }}