Skip to content

Commit

Permalink
fix: Scaling issues with web due to low CPU limits (#15955)
Browse files Browse the repository at this point in the history
* fix: Scaling issues with web due to low CPU limits

* chore: charts update dirty files

---------

Co-authored-by: andes-it <builders@andes.is>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored and jonnigs committed Sep 12, 2024
1 parent b391236 commit 8a2e091
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions apps/web/infra/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export const serviceSetup = (services: {
.liveness('/liveness')
.readiness({ path: '/readiness', initialDelaySeconds: 20 })
.resources({
limits: { cpu: '400m', memory: '768Mi' },
requests: { cpu: '200m', memory: '384Mi' },
limits: { cpu: '1000m', memory: '768Mi' },
requests: { cpu: '300m', memory: '384Mi' },
})
.replicaCount({
default: 2,
Expand Down
4 changes: 2 additions & 2 deletions charts/islandis/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3326,10 +3326,10 @@ web:
min: 2
resources:
limits:
cpu: '400m'
cpu: '1000m'
memory: '768Mi'
requests:
cpu: '200m'
cpu: '300m'
memory: '384Mi'
secrets:
CONFIGCAT_SDK_KEY: '/k8s/configcat/CONFIGCAT_SDK_KEY'
Expand Down
4 changes: 2 additions & 2 deletions charts/islandis/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3207,10 +3207,10 @@ web:
min: 2
resources:
limits:
cpu: '400m'
cpu: '1000m'
memory: '768Mi'
requests:
cpu: '200m'
cpu: '300m'
memory: '384Mi'
secrets:
CONFIGCAT_SDK_KEY: '/k8s/configcat/CONFIGCAT_SDK_KEY'
Expand Down
4 changes: 2 additions & 2 deletions charts/islandis/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3070,10 +3070,10 @@ web:
min: 2
resources:
limits:
cpu: '400m'
cpu: '1000m'
memory: '768Mi'
requests:
cpu: '200m'
cpu: '300m'
memory: '384Mi'
secrets:
CONFIGCAT_SDK_KEY: '/k8s/configcat/CONFIGCAT_SDK_KEY'
Expand Down

0 comments on commit 8a2e091

Please sign in to comment.