From 388c6fc23fc86e389eb1b0fbf0513a5828d2920e Mon Sep 17 00:00:00 2001 From: Joris Mancini Date: Wed, 5 Nov 2025 11:11:24 +0100 Subject: [PATCH 1/3] fix(sizing): increase cpu for explore and directory Both goes from xxs to s Signed-off-by: Joris Mancini --- k8s/resources/study/directory-server-deployment.yaml | 2 +- k8s/resources/study/explore-server-deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/resources/study/directory-server-deployment.yaml b/k8s/resources/study/directory-server-deployment.yaml index da863d2b..4e29ac9f 100644 --- a/k8s/resources/study/directory-server-deployment.yaml +++ b/k8s/resources/study/directory-server-deployment.yaml @@ -10,7 +10,7 @@ metadata: gridsuite.org/springboot-with-rabbitmq: "true" gridsuite.org/springboot-with-elasticsearch: "true" annotations: - gridsuite.org/cpu: cpu-xxs + gridsuite.org/cpu: cpu-s gridsuite.org/memory: memory-springnative-xs spec: selector: diff --git a/k8s/resources/study/explore-server-deployment.yaml b/k8s/resources/study/explore-server-deployment.yaml index cbdd7aa5..1bfc0e35 100644 --- a/k8s/resources/study/explore-server-deployment.yaml +++ b/k8s/resources/study/explore-server-deployment.yaml @@ -8,7 +8,7 @@ metadata: app.kubernetes.io/component: gridsuite-springboot gridsuite.org/springboot-with-rabbitmq: "true" annotations: - gridsuite.org/cpu: cpu-xxs + gridsuite.org/cpu: cpu-s gridsuite.org/memory: memory-s spec: selector: From 5b7940b540922cd91e2e43a31e46438119cbcb97 Mon Sep 17 00:00:00 2001 From: Joris Mancini Date: Wed, 5 Nov 2025 11:22:51 +0100 Subject: [PATCH 2/3] fix(sizing): set minimum cpu limit as 2 cpu for springboot services Signed-off-by: Joris Mancini --- .../gridsuite/patches/cpu/deployments-springboot-cpu-xs.yaml | 2 +- .../gridsuite/patches/cpu/deployments-springboot-cpu-xxs.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/components/gridsuite/patches/cpu/deployments-springboot-cpu-xs.yaml b/k8s/components/gridsuite/patches/cpu/deployments-springboot-cpu-xs.yaml index c3515c90..12e9fbda 100644 --- a/k8s/components/gridsuite/patches/cpu/deployments-springboot-cpu-xs.yaml +++ b/k8s/components/gridsuite/patches/cpu/deployments-springboot-cpu-xs.yaml @@ -13,4 +13,4 @@ spec: requests: cpu: "500m" limits: - cpu: "1000m" \ No newline at end of file + cpu: "2000m" \ No newline at end of file diff --git a/k8s/components/gridsuite/patches/cpu/deployments-springboot-cpu-xxs.yaml b/k8s/components/gridsuite/patches/cpu/deployments-springboot-cpu-xxs.yaml index 54c62ae1..208cdcd7 100644 --- a/k8s/components/gridsuite/patches/cpu/deployments-springboot-cpu-xxs.yaml +++ b/k8s/components/gridsuite/patches/cpu/deployments-springboot-cpu-xxs.yaml @@ -13,4 +13,4 @@ spec: requests: cpu: "100m" limits: - cpu: "500m" \ No newline at end of file + cpu: "2000m" \ No newline at end of file From 5cf5456623e087f3c6f30ae124ff1557d9bb590e Mon Sep 17 00:00:00 2001 From: Joris Mancini Date: Wed, 5 Nov 2025 15:37:08 +0100 Subject: [PATCH 3/3] fix(sizing): set minimum cpu limit as 1 cpu for apache services Signed-off-by: Joris Mancini --- k8s/components/gridsuite/patches/deployments-apache.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/components/gridsuite/patches/deployments-apache.yaml b/k8s/components/gridsuite/patches/deployments-apache.yaml index af879315..c16063e7 100644 --- a/k8s/components/gridsuite/patches/deployments-apache.yaml +++ b/k8s/components/gridsuite/patches/deployments-apache.yaml @@ -20,7 +20,7 @@ spec: memory: "128Mi" ephemeral-storage: 12Mi limits: - cpu: "500m" + cpu: "1000m" memory: "128Mi" ephemeral-storage: 64Mi startupProbe: