fix(staging): cap all HPA maxReplicas to 1 in staging environment
Staging HPAs were scaling up to 3-5 replicas under CPU load, competing with production for node memory request budget on the shared 2-node cluster. Staging does not need autoscaling — fixed at 1 replica per service. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,7 @@ patches:
|
||||
name: nowchess-account
|
||||
spec:
|
||||
minReplicas: 1
|
||||
maxReplicas: 1
|
||||
- patch: |-
|
||||
apiVersion: autoscaling/v2
|
||||
kind: HorizontalPodAutoscaler
|
||||
@@ -35,6 +36,42 @@ patches:
|
||||
name: nowchess-ws
|
||||
spec:
|
||||
minReplicas: 1
|
||||
maxReplicas: 1
|
||||
- patch: |-
|
||||
apiVersion: autoscaling/v2
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: nowchess-bot-platform
|
||||
spec:
|
||||
maxReplicas: 1
|
||||
- patch: |-
|
||||
apiVersion: autoscaling/v2
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: nowchess-io
|
||||
spec:
|
||||
maxReplicas: 1
|
||||
- patch: |-
|
||||
apiVersion: autoscaling/v2
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: nowchess-official-bots
|
||||
spec:
|
||||
maxReplicas: 1
|
||||
- patch: |-
|
||||
apiVersion: autoscaling/v2
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: nowchess-rule
|
||||
spec:
|
||||
maxReplicas: 1
|
||||
- patch: |-
|
||||
apiVersion: autoscaling/v2
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: nowchess-store
|
||||
spec:
|
||||
maxReplicas: 1
|
||||
- patch: |-
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Rollout
|
||||
|
||||
Reference in New Issue
Block a user