Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: CE-917 enable autoscaling for test #702

Merged
merged 9 commits into from
Oct 17, 2024
4 changes: 4 additions & 0 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,13 @@ jobs:
tag: ${{ needs.vars.outputs.pr }}
params: --set backend.deploymentStrategy=RollingUpdate
--set frontend.deploymentStrategy=RollingUpdate
--set webeoc.deploymentStrategy=RollingUpdate
--set global.autoscaling=true
--set frontend.pdb.enabled=true
--set backend.pdb.enabled=true
--set webeoc.pdb.enabled=true
--set nats.config.cluster.replicas=3

promote:
name: Promote Images
needs: [deploy-prod, vars]
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/merge-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ jobs:
with:
environment: test
tag: ${{ needs.vars.outputs.pr }}
params: --set backend.deploymentStrategy=RollingUpdate
--set frontend.deploymentStrategy=RollingUpdate
--set webeoc.deploymentStrategy=RollingUpdate
--set global.autoscaling=true
--set frontend.pdb.enabled=true
--set backend.pdb.enabled=true
--set webeoc.pdb.enabled=true
--set nats.config.cluster.replicas=3

promote:
name: Promote Images
Expand Down
10 changes: 5 additions & 5 deletions charts/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ backup:
nats:
enabled: true
config:
replicaCount: 1
resources:
requests:
cpu: 100m
Expand All @@ -377,8 +376,9 @@ nats:
memoryStore:
enabled: true
maxSize: 250Mi
cluster:
enabled: true
cluster:
enabled: true
replicas: 1
barrfalk marked this conversation as resolved.
Show resolved Hide resolved
natsBox:
enabled: false
persistence:
Expand Down Expand Up @@ -407,9 +407,9 @@ webeoc:
#-- enable or disable autoscaling.
enabled: true
#-- the minimum number of replicas.
minReplicas: 1
minReplicas: 2
#-- the maximum number of replicas.
maxReplicas: 2
maxReplicas: 3
#-- the target cpu utilization percentage, is from request cpu and NOT LIMIT CPU.
targetCPUUtilizationPercentage: 80
service:
Expand Down
Loading