Skip to content

Commit 3a607d5

Browse files
committed
fix(codeapi-chart): avoid service worker surge rollout
1 parent 12d3760 commit 3a607d5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

helm/codeapi/templates/worker-sandbox-deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ metadata:
9292
{{- include "codeapi.serviceWorker.labels" . | nindent 4 }}
9393
spec:
9494
replicas: {{ $serviceWorkerReplicas }}
95+
strategy:
96+
type: RollingUpdate
97+
rollingUpdate:
98+
maxSurge: 0
99+
maxUnavailable: 1
95100
selector:
96101
matchLabels:
97102
{{- include "codeapi.serviceWorker.selectorLabels" . | nindent 6 }}

0 commit comments

Comments
 (0)