From f00d16b23c254a6cf86c3f9cef0f7e842e17ccdf Mon Sep 17 00:00:00 2001 From: Gavin Mogan Date: Sun, 8 Sep 2024 15:36:24 -0700 Subject: [PATCH] Make sure GOMAXPROCS and GOMEMLIMIT has a divisor set --- deployments/kubernetes/manifests/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployments/kubernetes/manifests/deployment.yaml b/deployments/kubernetes/manifests/deployment.yaml index 892e5aa02..faa06fca1 100644 --- a/deployments/kubernetes/manifests/deployment.yaml +++ b/deployments/kubernetes/manifests/deployment.yaml @@ -25,10 +25,12 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu + divisor: '1' - name: GOMEMLIMIT valueFrom: resourceFieldRef: resource: limits.memory + divisor: '1' ports: - name: http containerPort: 9090