Skip to content

Commit

Permalink
chore(application-system): Increase cpu and mem limit and request to …
Browse files Browse the repository at this point in the history
…avoid crashloops (#16792)

* chore(application-system): Increase cpu and mem limit and request to avoid crashloops

* chore: charts update dirty files

* Decrease cpu resources and return memory to original value

* chore: charts update dirty files

* 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 committed Nov 18, 2024
1 parent fde2ba6 commit e36311f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions apps/application-system/api/infra/application-system-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ export const serviceSetup = (services: {
.liveness({ path: '/liveness', initialDelaySeconds: 20 })
.readiness({ path: '/liveness', initialDelaySeconds: 20 })
.resources({
limits: { cpu: '400m', memory: '1024Mi' },
requests: { cpu: '75m', memory: '512Mi' },
limits: { cpu: '600m', memory: '1024Mi' },
requests: { cpu: '200m', memory: '512Mi' },
})
.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 @@ -760,10 +760,10 @@ application-system-api:
min: 2
resources:
limits:
cpu: '400m'
cpu: '600m'
memory: '1024Mi'
requests:
cpu: '75m'
cpu: '200m'
memory: '512Mi'
secrets:
ALTHINGI_OMBUDSMAN_XROAD_PASSWORD: '/k8s/api/ALTHINGI_OMBUDSMAN_XROAD_PASSWORD'
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 @@ -748,10 +748,10 @@ application-system-api:
min: 2
resources:
limits:
cpu: '400m'
cpu: '600m'
memory: '1024Mi'
requests:
cpu: '75m'
cpu: '200m'
memory: '512Mi'
secrets:
ALTHINGI_OMBUDSMAN_XROAD_PASSWORD: '/k8s/api/ALTHINGI_OMBUDSMAN_XROAD_PASSWORD'
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 @@ -757,10 +757,10 @@ application-system-api:
min: 2
resources:
limits:
cpu: '400m'
cpu: '600m'
memory: '1024Mi'
requests:
cpu: '75m'
cpu: '200m'
memory: '512Mi'
secrets:
ALTHINGI_OMBUDSMAN_XROAD_PASSWORD: '/k8s/api/ALTHINGI_OMBUDSMAN_XROAD_PASSWORD'
Expand Down

0 comments on commit e36311f

Please sign in to comment.