From b2ce96de2b0c09cd5d952bb6c60f50998c13e1a0 Mon Sep 17 00:00:00 2001 From: Kevin Green Date: Thu, 8 Jan 2026 19:20:48 -0500 Subject: [PATCH 1/3] Set rolling deployment parameters and add minReadySeconds --- braintrust/templates/api-deployment.yaml | 6 ++++++ braintrust/templates/brainstore-reader-deployment.yaml | 6 ++++++ braintrust/templates/brainstore-writer-deployment.yaml | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/braintrust/templates/api-deployment.yaml b/braintrust/templates/api-deployment.yaml index 136534a..57d2d0a 100644 --- a/braintrust/templates/api-deployment.yaml +++ b/braintrust/templates/api-deployment.yaml @@ -13,6 +13,12 @@ metadata: {{- end }} spec: replicas: {{ .Values.api.replicas }} + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 100% + maxUnavailable: 0 + minReadySeconds: 30 selector: matchLabels: app: {{ .Values.api.name }} diff --git a/braintrust/templates/brainstore-reader-deployment.yaml b/braintrust/templates/brainstore-reader-deployment.yaml index dd2f2ee..9f2bcc3 100644 --- a/braintrust/templates/brainstore-reader-deployment.yaml +++ b/braintrust/templates/brainstore-reader-deployment.yaml @@ -13,6 +13,12 @@ metadata: {{- end }} spec: replicas: {{ .Values.brainstore.reader.replicas }} + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 100% + maxUnavailable: 0 + minReadySeconds: 30 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..ec9c5a0 100644 --- a/braintrust/templates/brainstore-writer-deployment.yaml +++ b/braintrust/templates/brainstore-writer-deployment.yaml @@ -13,6 +13,12 @@ metadata: {{- end }} spec: replicas: {{ .Values.brainstore.writer.replicas }} + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 100% + maxUnavailable: 0 + minReadySeconds: 30 selector: matchLabels: app: {{ .Values.brainstore.writer.name }} From 483233d6ae83b94a7c0f89000595d15c7b901d66 Mon Sep 17 00:00:00 2001 From: Kevin Green Date: Thu, 8 Jan 2026 19:41:59 -0500 Subject: [PATCH 2/3] increase success probes instead of minReadySeconds --- braintrust/templates/api-deployment.yaml | 1 - braintrust/templates/brainstore-reader-deployment.yaml | 1 - braintrust/templates/brainstore-writer-deployment.yaml | 1 - braintrust/values.yaml | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/braintrust/templates/api-deployment.yaml b/braintrust/templates/api-deployment.yaml index 57d2d0a..f755c69 100644 --- a/braintrust/templates/api-deployment.yaml +++ b/braintrust/templates/api-deployment.yaml @@ -18,7 +18,6 @@ spec: rollingUpdate: maxSurge: 100% maxUnavailable: 0 - minReadySeconds: 30 selector: matchLabels: app: {{ .Values.api.name }} diff --git a/braintrust/templates/brainstore-reader-deployment.yaml b/braintrust/templates/brainstore-reader-deployment.yaml index 9f2bcc3..e6c355b 100644 --- a/braintrust/templates/brainstore-reader-deployment.yaml +++ b/braintrust/templates/brainstore-reader-deployment.yaml @@ -18,7 +18,6 @@ spec: rollingUpdate: maxSurge: 100% maxUnavailable: 0 - minReadySeconds: 30 selector: matchLabels: app: {{ .Values.brainstore.reader.name }} diff --git a/braintrust/templates/brainstore-writer-deployment.yaml b/braintrust/templates/brainstore-writer-deployment.yaml index ec9c5a0..f8b2f79 100644 --- a/braintrust/templates/brainstore-writer-deployment.yaml +++ b/braintrust/templates/brainstore-writer-deployment.yaml @@ -18,7 +18,6 @@ spec: rollingUpdate: maxSurge: 100% maxUnavailable: 0 - minReadySeconds: 30 selector: matchLabels: app: {{ .Values.brainstore.writer.name }} diff --git a/braintrust/values.yaml b/braintrust/values.yaml index f80a9a4..cb0ef3f 100644 --- a/braintrust/values.yaml +++ b/braintrust/values.yaml @@ -180,7 +180,7 @@ brainstore: periodSeconds: 5 timeoutSeconds: 3 failureThreshold: 3 - successThreshold: 1 + successThreshold: 3 # Brainstore Reader configuration reader: From b6b6b982182ef345726f030496e24652cf5ea95e Mon Sep 17 00:00:00 2001 From: Kevin Green Date: Thu, 8 Jan 2026 20:01:18 -0500 Subject: [PATCH 3/3] Set successThreshold back --- braintrust/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/braintrust/values.yaml b/braintrust/values.yaml index cb0ef3f..f80a9a4 100644 --- a/braintrust/values.yaml +++ b/braintrust/values.yaml @@ -180,7 +180,7 @@ brainstore: periodSeconds: 5 timeoutSeconds: 3 failureThreshold: 3 - successThreshold: 3 + successThreshold: 1 # Brainstore Reader configuration reader: