From 1d0335f478f1e08ed6d42fd9655ea10700e384bf Mon Sep 17 00:00:00 2001 From: Janis Eccarius Date: Mon, 1 Jun 2026 23:27:24 +0200 Subject: [PATCH] fix(rollouts): add previewReplicaCount: 1 to all blue-green rollouts During rollout, active RS (HPA-scaled) + preview RS (also HPA-scaled) = 2x pod count, exhausting node memory request budgets. Setting previewReplicaCount: 1 caps the preview RS at 1 pod regardless of HPA until promotion completes. Co-Authored-By: Claude Sonnet 4.6 --- nowchess/base/nowchess-rollouts.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nowchess/base/nowchess-rollouts.yaml b/nowchess/base/nowchess-rollouts.yaml index 7b5f846..d51a63a 100644 --- a/nowchess/base/nowchess-rollouts.yaml +++ b/nowchess/base/nowchess-rollouts.yaml @@ -94,6 +94,7 @@ spec: activeService: nowchess-account-active previewService: nowchess-account-preview autoPromotionEnabled: true + previewReplicaCount: 1 --- apiVersion: argoproj.io/v1alpha1 kind: Rollout @@ -157,6 +158,7 @@ spec: activeService: nowchess-bot-platform-active previewService: nowchess-bot-platform-preview autoPromotionEnabled: true + previewReplicaCount: 1 --- apiVersion: argoproj.io/v1alpha1 kind: Rollout @@ -234,6 +236,7 @@ spec: activeService: nowchess-coordinator-active previewService: nowchess-coordinator-preview autoPromotionEnabled: true + previewReplicaCount: 1 --- apiVersion: argoproj.io/v1alpha1 kind: Rollout @@ -331,6 +334,7 @@ spec: activeService: nowchess-core-active previewService: nowchess-core-preview autoPromotionEnabled: true + previewReplicaCount: 1 --- apiVersion: argoproj.io/v1alpha1 kind: Rollout @@ -395,6 +399,7 @@ spec: activeService: nowchess-io-active previewService: nowchess-io-preview autoPromotionEnabled: true + previewReplicaCount: 1 --- apiVersion: argoproj.io/v1alpha1 kind: Rollout @@ -458,6 +463,7 @@ spec: activeService: nowchess-official-bots-active previewService: nowchess-official-bots-preview autoPromotionEnabled: true + previewReplicaCount: 1 --- apiVersion: argoproj.io/v1alpha1 kind: Rollout @@ -520,6 +526,7 @@ spec: activeService: nowchess-rule-active previewService: nowchess-rule-preview autoPromotionEnabled: true + previewReplicaCount: 1 --- apiVersion: argoproj.io/v1alpha1 kind: Rollout @@ -603,6 +610,7 @@ spec: activeService: nowchess-store-active previewService: nowchess-store-preview autoPromotionEnabled: true + previewReplicaCount: 1 --- apiVersion: argoproj.io/v1alpha1 kind: Rollout @@ -681,6 +689,7 @@ spec: activeService: nowchess-ws-active previewService: nowchess-ws-preview autoPromotionEnabled: true + previewReplicaCount: 1 --- apiVersion: argoproj.io/v1alpha1 kind: Rollout @@ -735,3 +744,4 @@ spec: activeService: nowchess-frontend-active previewService: nowchess-frontend-preview autoPromotionEnabled: true + previewReplicaCount: 1