From 1f8a7b01bc0e318086a5e950496488e3c42309fc Mon Sep 17 00:00:00 2001 From: Andi Titu <45081667+AndyTitu@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:31:03 +0300 Subject: [PATCH 1/2] Use request instead of limits for cpu resource Since CPU is a compressible resource it makes sense for us not to limit it. Furthermore, since we want to meet the conditions for our node to be catalogued as `burstable` by Kubernetes we want to provide a `request` spec. --- charts/connect/values.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/connect/values.yaml b/charts/connect/values.yaml index 53267d7..bddb196 100644 --- a/charts/connect/values.yaml +++ b/charts/connect/values.yaml @@ -21,7 +21,8 @@ connect: resources: limits: memory: 128Mi - cpu: 0.2 + requests: + cpu: 0.2m httpPort: 8080 httpsPort: 8443 logLevel: info From 941fff343822a5d7ba5490c16ec1a209cd75d0a7 Mon Sep 17 00:00:00 2001 From: Andi Titu <45081667+AndyTitu@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:46:10 +0300 Subject: [PATCH 2/2] Update charts/connect/values.yaml --- charts/connect/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/connect/values.yaml b/charts/connect/values.yaml index bddb196..691e2bd 100644 --- a/charts/connect/values.yaml +++ b/charts/connect/values.yaml @@ -22,7 +22,7 @@ connect: limits: memory: 128Mi requests: - cpu: 0.2m + cpu: 0.2 httpPort: 8080 httpsPort: 8443 logLevel: info