From 23fc64e7b70ac1848ff75f7773f59dc9995a04dc Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Mon, 4 May 2026 21:21:16 +0000 Subject: [PATCH] fix(neuron-prod): set neuron-marketing-hpa minReplicas to 1 (#8) --- servers/legion/k8s/neuron-technologies/prod/hpa.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/servers/legion/k8s/neuron-technologies/prod/hpa.yaml b/servers/legion/k8s/neuron-technologies/prod/hpa.yaml index e6e3331..56193e7 100644 --- a/servers/legion/k8s/neuron-technologies/prod/hpa.yaml +++ b/servers/legion/k8s/neuron-technologies/prod/hpa.yaml @@ -82,7 +82,12 @@ spec: apiVersion: apps/v1 kind: Deployment name: neuron-marketing - minReplicas: 0 + # minReplicas=1 to match the file's own convention (see header comment). + # Kubernetes only allows minReplicas=0 when at least one Object or External + # metric is configured (queue depth, custom signal, etc.); with only a + # Resource (CPU) metric, scale-to-zero is rejected and the whole HPA is + # invalid — which was blocking neuron-prod's Argo CD sync. + minReplicas: 1 maxReplicas: 8 metrics: - type: Resource