fix(neuron-prod): set neuron-marketing-hpa minReplicas to 1 (#8)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user