From dbf2941bbf2288e6417110aa6d0342efa493209d Mon Sep 17 00:00:00 2001 From: Suriya Date: Mon, 20 Jul 2026 10:18:06 +0530 Subject: [PATCH] Remove hardcoded replicas from HPA-managed deliveries StatefulSet replicas: 4 was fighting the HPA's minReplicas: 8 on every reconcile - GitOps tooling (Flux) reapplies the manifest on an interval, which would keep yanking capacity back down between HPA corrections and quietly undo the burst-headroom fix from c38a367. Co-Authored-By: Claude Sonnet 5 --- manifests/alaska/alaska.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/alaska/alaska.yaml b/manifests/alaska/alaska.yaml index 9e25b1a..215a41f 100644 --- a/manifests/alaska/alaska.yaml +++ b/manifests/alaska/alaska.yaml @@ -65,7 +65,9 @@ metadata: app.kubernetes.io/component: backend spec: serviceName: "deliveries" # Required for StatefulSet - replicas: 4 + # replicas intentionally omitted - the HPA below owns this field. A + # hardcoded value here would fight the HPA on every GitOps reconcile, + # yanking replicas back down between HPA corrections. selector: matchLabels: app.kubernetes.io/name: deliveries