From 795508a39cb08a901bb262109995283f20f27155 Mon Sep 17 00:00:00 2001 From: lommi Date: Thu, 23 May 2024 08:42:42 +0000 Subject: [PATCH 1/4] fix: increase resource --- apps/api/infra/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/infra/api.ts b/apps/api/infra/api.ts index 7dfa73db5403..0d1c82329f69 100644 --- a/apps/api/infra/api.ts +++ b/apps/api/infra/api.ts @@ -440,7 +440,7 @@ export const serviceSetup = (services: { .readiness('/health') .liveness('/liveness') .resources({ - limits: { cpu: '600m', memory: '2048Mi' }, + limits: { cpu: '1200m', memory: '2048Mi' }, requests: { cpu: '250m', memory: '896Mi' }, }) .replicaCount({ From ede37b77cac71b85f8362f36e2db3e7c51c3c653 Mon Sep 17 00:00:00 2001 From: andes-it Date: Thu, 23 May 2024 08:44:23 +0000 Subject: [PATCH 2/4] 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 f4ebc10fe92f..b05157ad7389 100644 --- a/charts/islandis/values.dev.yaml +++ b/charts/islandis/values.dev.yaml @@ -453,7 +453,7 @@ api: min: 2 resources: limits: - cpu: '600m' + cpu: '1200m' memory: '2048Mi' requests: cpu: '250m' diff --git a/charts/islandis/values.prod.yaml b/charts/islandis/values.prod.yaml index 4c055e99c61f..c56f0c9e41f0 100644 --- a/charts/islandis/values.prod.yaml +++ b/charts/islandis/values.prod.yaml @@ -443,7 +443,7 @@ api: min: 2 resources: limits: - cpu: '600m' + cpu: '1200m' memory: '2048Mi' requests: cpu: '250m' diff --git a/charts/islandis/values.staging.yaml b/charts/islandis/values.staging.yaml index b0471e7f0b99..1c93ea990ce8 100644 --- a/charts/islandis/values.staging.yaml +++ b/charts/islandis/values.staging.yaml @@ -451,7 +451,7 @@ api: min: 2 resources: limits: - cpu: '600m' + cpu: '1200m' memory: '2048Mi' requests: cpu: '250m' From 6e480a01fa40c74c3e8bfce7208cfe093adc6799 Mon Sep 17 00:00:00 2001 From: lommi Date: Thu, 23 May 2024 09:08:18 +0000 Subject: [PATCH 3/4] fix: resources --- apps/api/infra/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/infra/api.ts b/apps/api/infra/api.ts index 0d1c82329f69..792310df3993 100644 --- a/apps/api/infra/api.ts +++ b/apps/api/infra/api.ts @@ -441,7 +441,7 @@ export const serviceSetup = (services: { .liveness('/liveness') .resources({ limits: { cpu: '1200m', memory: '2048Mi' }, - requests: { cpu: '250m', memory: '896Mi' }, + requests: { cpu: '350m', memory: '896Mi' }, }) .replicaCount({ default: 2, From 6eb072f64bfacae7c4dfda630800e61997899c93 Mon Sep 17 00:00:00 2001 From: andes-it Date: Thu, 23 May 2024 09:18:01 +0000 Subject: [PATCH 4/4] 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 b05157ad7389..0cb229836f8d 100644 --- a/charts/islandis/values.dev.yaml +++ b/charts/islandis/values.dev.yaml @@ -456,7 +456,7 @@ api: cpu: '1200m' memory: '2048Mi' requests: - cpu: '250m' + cpu: '350m' memory: '896Mi' secrets: ADR_LICENSE_FETCH_TIMEOUT: '/k8s/api/ADR_LICENSE_FETCH_TIMEOUT' diff --git a/charts/islandis/values.prod.yaml b/charts/islandis/values.prod.yaml index c56f0c9e41f0..d0fec583b383 100644 --- a/charts/islandis/values.prod.yaml +++ b/charts/islandis/values.prod.yaml @@ -446,7 +446,7 @@ api: cpu: '1200m' memory: '2048Mi' requests: - cpu: '250m' + cpu: '350m' memory: '896Mi' secrets: ADR_LICENSE_FETCH_TIMEOUT: '/k8s/api/ADR_LICENSE_FETCH_TIMEOUT' diff --git a/charts/islandis/values.staging.yaml b/charts/islandis/values.staging.yaml index 1c93ea990ce8..539c6063feaa 100644 --- a/charts/islandis/values.staging.yaml +++ b/charts/islandis/values.staging.yaml @@ -454,7 +454,7 @@ api: cpu: '1200m' memory: '2048Mi' requests: - cpu: '250m' + cpu: '350m' memory: '896Mi' secrets: ADR_LICENSE_FETCH_TIMEOUT: '/k8s/api/ADR_LICENSE_FETCH_TIMEOUT'