From 2504ccdb3d369c5f9ca2b7f106c2aaeb5d928ff9 Mon Sep 17 00:00:00 2001 From: Steve Kuznetsov Date: Thu, 3 Aug 2023 09:21:24 -0600 Subject: [PATCH] manifests: tune memory use We do basically nothing in this controller - we watch an extremely small set of objects and make very few allocations past our informer queues. We should not be using much memory, ever. Signed-off-by: Steve Kuznetsov --- manifests/09_operator.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/manifests/09_operator.yaml b/manifests/09_operator.yaml index ce50e1c34..499cbe8b6 100644 --- a/manifests/09_operator.yaml +++ b/manifests/09_operator.yaml @@ -72,8 +72,8 @@ spec: port: 8080 resources: requests: - cpu: 10m - memory: 50Mi + cpu: 1m + memory: 5Mi env: - name: WATCH_NAMESPACE valueFrom: @@ -88,6 +88,8 @@ spec: - name: "RELEASE_VERSION" # The string "0.0.1-snapshot" is substituted by the CVO with the version of the payload value: "0.0.1-snapshot" + - name: GOMEMLIMIT + value: 5MiB volumeMounts: - name: marketplace-trusted-ca mountPath: /etc/pki/ca-trust/extracted/pem/