diff --git a/braintrust/templates/api-deployment.yaml b/braintrust/templates/api-deployment.yaml index 136534a..f755c69 100644 --- a/braintrust/templates/api-deployment.yaml +++ b/braintrust/templates/api-deployment.yaml @@ -13,6 +13,11 @@ metadata: {{- end }} spec: replicas: {{ .Values.api.replicas }} + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 100% + maxUnavailable: 0 selector: matchLabels: app: {{ .Values.api.name }} diff --git a/braintrust/templates/brainstore-reader-deployment.yaml b/braintrust/templates/brainstore-reader-deployment.yaml index dd2f2ee..e6c355b 100644 --- a/braintrust/templates/brainstore-reader-deployment.yaml +++ b/braintrust/templates/brainstore-reader-deployment.yaml @@ -13,6 +13,11 @@ metadata: {{- end }} spec: replicas: {{ .Values.brainstore.reader.replicas }} + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 100% + maxUnavailable: 0 selector: matchLabels: app: {{ .Values.brainstore.reader.name }} diff --git a/braintrust/templates/brainstore-writer-deployment.yaml b/braintrust/templates/brainstore-writer-deployment.yaml index 11294e4..f8b2f79 100644 --- a/braintrust/templates/brainstore-writer-deployment.yaml +++ b/braintrust/templates/brainstore-writer-deployment.yaml @@ -13,6 +13,11 @@ metadata: {{- end }} spec: replicas: {{ .Values.brainstore.writer.replicas }} + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 100% + maxUnavailable: 0 selector: matchLabels: app: {{ .Values.brainstore.writer.name }}