Skip to content

Commit 509b5a4

Browse files
committed
Vary hpa min replicas by env.
1 parent cff2358 commit 509b5a4

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

kube/boost/templates/hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: HorizontalPodAutoscaler
33
metadata:
44
name: boost
55
spec:
6-
minReplicas: 3
6+
minReplicas: {{.Values.hpaMinReplicas}}
77
maxReplicas: 12
88
metrics:
99
- resource:

kube/boost/values-cppal-dev-gke.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,3 +251,4 @@ gatewayStaticIp: cppal-dev-ingress1
251251
gatewayStaticIpv6: cppal-dev-gateway-ipv6
252252
redisInstall: false
253253
celeryInstall: true
254+
hpaMinReplicas: 2

kube/boost/values-production-gke.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,4 @@ gatewayStaticIp: boost-io-ingress1
250250
gatewayStaticIpv6: production-gateway-ipv6
251251
redisInstall: false
252252
celeryInstall: true
253+
hpaMinReplicas: 4

kube/boost/values-stage-gke.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,4 @@ gatewayStaticIp: boost-stage-ingress1
250250
gatewayStaticIpv6: stage-gateway-ipv6
251251
redisInstall: false
252252
celeryInstall: true
253+
hpaMinReplicas: 2

0 commit comments

Comments
 (0)