From 407dd773bb78aec5550f37b44a56df1806b18e39 Mon Sep 17 00:00:00 2001 From: peturgq Date: Wed, 11 Sep 2024 14:07:08 +0000 Subject: [PATCH 1/2] fix: application-system-api replicas too high due to CPU request being too low --- apps/application-system/api/infra/application-system-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/application-system/api/infra/application-system-api.ts b/apps/application-system/api/infra/application-system-api.ts index 1e5cf164b74e..98e258a3d972 100644 --- a/apps/application-system/api/infra/application-system-api.ts +++ b/apps/application-system/api/infra/application-system-api.ts @@ -113,7 +113,7 @@ export const workerSetup = }) .resources({ limits: { cpu: '400m', memory: '768Mi' }, - requests: { cpu: '100m', memory: '384Mi' }, + requests: { cpu: '150m', memory: '384Mi' }, }) export const serviceSetup = (services: { From fd7e32411519c215bc497d873ab792fd8ed42d18 Mon Sep 17 00:00:00 2001 From: andes-it Date: Wed, 11 Sep 2024 14:08:20 +0000 Subject: [PATCH 2/2] chore: charts update dirty files --- charts/islandis/values.dev.yaml | 2 +- charts/islandis/values.prod.yaml | 2 +- charts/islandis/values.staging.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/islandis/values.dev.yaml b/charts/islandis/values.dev.yaml index 3a089235bd45..829fe7b44d13 100644 --- a/charts/islandis/values.dev.yaml +++ b/charts/islandis/values.dev.yaml @@ -882,7 +882,7 @@ application-system-api-worker: cpu: '400m' memory: '768Mi' requests: - cpu: '100m' + cpu: '150m' memory: '384Mi' schedule: '*/30 * * * *' secrets: diff --git a/charts/islandis/values.prod.yaml b/charts/islandis/values.prod.yaml index 9d12ceb47191..ea32d1a7b1c1 100644 --- a/charts/islandis/values.prod.yaml +++ b/charts/islandis/values.prod.yaml @@ -872,7 +872,7 @@ application-system-api-worker: cpu: '400m' memory: '768Mi' requests: - cpu: '100m' + cpu: '150m' memory: '384Mi' schedule: '*/30 * * * *' secrets: diff --git a/charts/islandis/values.staging.yaml b/charts/islandis/values.staging.yaml index 4da765468d39..cd022c065b2d 100644 --- a/charts/islandis/values.staging.yaml +++ b/charts/islandis/values.staging.yaml @@ -880,7 +880,7 @@ application-system-api-worker: cpu: '400m' memory: '768Mi' requests: - cpu: '100m' + cpu: '150m' memory: '384Mi' schedule: '*/30 * * * *' secrets: