CHG tune hpas to be significantly less sensitive
@@ -9,11 +9,11 @@ metadata:
spec:
behavior:
scaleUp:
- stabilizationWindowSeconds: 60
+ stabilizationWindowSeconds: 120
policies:
- type: Percent
- value: 100
- periodSeconds: 30
+ value: 200
+ periodSeconds: 120
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
@@ -37,11 +37,11 @@ metadata:
spec:
behavior:
scaleUp:
- stabilizationWindowSeconds: 60
+ stabilizationWindowSeconds: 120
policies:
- type: Percent
- value: 100
- periodSeconds: 30
+ value: 200
+ periodSeconds: 120
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
@@ -65,11 +65,11 @@ metadata:
spec:
behavior:
scaleUp:
- stabilizationWindowSeconds: 10
+ stabilizationWindowSeconds: 120
policies:
- type: Percent
- value: 100
- periodSeconds: 20
+ value: 150
+ periodSeconds: 120
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
@@ -103,7 +103,7 @@ spec:
kind: Deployment
name: anubis-{{ .name }}
minReplicas: {{ $.Values.rpc.replicas }}
- maxReplicas: 15
+ maxReplicas: 10
metrics:
- type: Resource
resource:
@@ -113,11 +113,11 @@ spec:
averageUtilization: 100
behavior:
scaleUp:
- stabilizationWindowSeconds: 10
+ stabilizationWindowSeconds: 120
selectPolicy: Max
policies:
- type: Percent
- value: 100
+ value: 200
periodSeconds: 20
scaleDown:
stabilizationWindowSeconds: 30
