From 3a607d50080edbf49cbb0fcea0455272d3f26c9e Mon Sep 17 00:00:00 2001 From: Roland Schlaefli Date: Tue, 30 Jun 2026 00:17:06 +0200 Subject: [PATCH] fix(codeapi-chart): avoid service worker surge rollout --- helm/codeapi/templates/worker-sandbox-deployment.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/helm/codeapi/templates/worker-sandbox-deployment.yaml b/helm/codeapi/templates/worker-sandbox-deployment.yaml index b6136ab..079b9bf 100644 --- a/helm/codeapi/templates/worker-sandbox-deployment.yaml +++ b/helm/codeapi/templates/worker-sandbox-deployment.yaml @@ -92,6 +92,11 @@ metadata: {{- include "codeapi.serviceWorker.labels" . | nindent 4 }} spec: replicas: {{ $serviceWorkerReplicas }} + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 selector: matchLabels: {{- include "codeapi.serviceWorker.selectorLabels" . | nindent 6 }}