From edc4a3d5519c05eb6a88f8a119a6b07b3b3e24da Mon Sep 17 00:00:00 2001 From: Mark Anderson-Trocme Date: Thu, 12 Sep 2024 15:53:12 -0400 Subject: [PATCH] set GOMAXPROCS to cpu request Signed-off-by: Mark Anderson-Trocme --- charts/kcp/templates/server-deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/kcp/templates/server-deployment.yaml b/charts/kcp/templates/server-deployment.yaml index 7fb7cab..c37b2a4 100644 --- a/charts/kcp/templates/server-deployment.yaml +++ b/charts/kcp/templates/server-deployment.yaml @@ -183,6 +183,10 @@ spec: valueFrom: resourceFieldRef: resource: requests.memory + - name: GOMAXPROCS + valueFrom: + resourceFieldRef: + resource: requests.cpu livenessProbe: failureThreshold: 6 httpGet: