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 }}