From 3fbd0b32cd465ec4723855d392600aceba06bc40 Mon Sep 17 00:00:00 2001 From: Andi Titu <45081667+AndyTitu@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:35:32 +0300 Subject: [PATCH 1/3] Use requests instead of limits for cpu resource --- config/connect/deployment.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/connect/deployment.yaml b/config/connect/deployment.yaml index 3b6acf4e..ce84079d 100644 --- a/config/connect/deployment.yaml +++ b/config/connect/deployment.yaml @@ -39,7 +39,8 @@ spec: resources: limits: memory: "128Mi" - cpu: "0.2" + requests: + cpu: "0.2m" ports: - containerPort: 8080 env: @@ -58,7 +59,8 @@ spec: resources: limits: memory: "128Mi" - cpu: "0.2" + requests: + cpu: "0.2m" ports: - containerPort: 8081 env: From c94e7a5557081e76f78e7d2efae46546201ba7e4 Mon Sep 17 00:00:00 2001 From: Andi Titu <45081667+AndyTitu@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:44:53 +0300 Subject: [PATCH 2/3] use 0.2 instead of 0.2m --- config/connect/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/connect/deployment.yaml b/config/connect/deployment.yaml index ce84079d..69314da0 100644 --- a/config/connect/deployment.yaml +++ b/config/connect/deployment.yaml @@ -40,7 +40,7 @@ spec: limits: memory: "128Mi" requests: - cpu: "0.2m" + cpu: "0.2" ports: - containerPort: 8080 env: From 4091f80351f3dc7161b778a4092f4a6a4e05695e Mon Sep 17 00:00:00 2001 From: Andi Titu <45081667+AndyTitu@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:45:20 +0300 Subject: [PATCH 3/3] Use 0.2 instead of 0.2m --- config/connect/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/connect/deployment.yaml b/config/connect/deployment.yaml index 69314da0..3f2dd380 100644 --- a/config/connect/deployment.yaml +++ b/config/connect/deployment.yaml @@ -60,7 +60,7 @@ spec: limits: memory: "128Mi" requests: - cpu: "0.2m" + cpu: "0.2" ports: - containerPort: 8081 env: