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

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

Merged
merged 7 commits into from
Nov 15, 2024
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 @@ -349,8 +349,8 @@ export const serviceSetup = (services: {
.liveness('/liveness')
.readiness('/liveness')
norda-gunni marked this conversation as resolved.
Show resolved Hide resolved
.resources({
limits: { cpu: '400m', memory: '1024Mi' },
requests: { cpu: '75m', memory: '512Mi' },
limits: { cpu: '600m', memory: '1024Mi' },
requests: { cpu: '200m', memory: '512Mi' },
norda-gunni marked this conversation as resolved.
Show resolved Hide resolved
})
.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 @@ -768,10 +768,10 @@ application-system-api:
min: 2
resources:
limits:
cpu: '400m'
cpu: '600m'
memory: '1024Mi'
requests:
cpu: '75m'
cpu: '200m'
norda-gunni marked this conversation as resolved.
Show resolved Hide resolved
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 @@ -755,10 +755,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 @@ -764,10 +764,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/services/application-system-api/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ replicaCount:
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/services/application-system-api/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ replicaCount:
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/services/application-system-api/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ replicaCount:
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
Loading