Skip to content

Commit baae84b

Browse files
authored
Adjust settings of kubernetes autoscaler (boostorg#1951)
1 parent 7ab3ac4 commit baae84b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

kube/boost/templates/hpa.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ kind: HorizontalPodAutoscaler
33
metadata:
44
name: boost
55
spec:
6-
minReplicas: 2
7-
maxReplicas: 8
6+
minReplicas: 3
7+
maxReplicas: 12
88
metrics:
99
- resource:
1010
name: cpu
1111
target:
12-
averageUtilization: 50
12+
averageUtilization: 23
1313
type: Utilization
1414
type: Resource
1515
scaleTargetRef:

kube/boost/values-production-gke.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ replicaCount: "2"
1313

1414
wsgiResources:
1515
limits:
16-
cpu: "3500m"
16+
cpu: "2500m"
1717
ephemeral-storage: 1Gi
18-
memory: 4Gi
18+
memory: 2500Mi
1919
requests:
20-
cpu: "3500m"
20+
cpu: "2500m"
2121
ephemeral-storage: 1Gi
22-
memory: 4Gi
22+
memory: 2500Mi
2323

2424
## NOTE ##
2525
# set publcFqdn to the target domain. `www` will be prepended to the domain

0 commit comments

Comments
 (0)