From 1a77f06b0ebc255386dfb155c20088d57554d058 Mon Sep 17 00:00:00 2001 From: Scott Trent Date: Fri, 21 Jun 2024 15:12:47 +0900 Subject: [PATCH] allocate more memory for container Signed-off-by: Scott Trent --- bundle/manifests/susql-operator.clusterserviceversion.yaml | 6 +++--- cmd/debug-entrypoint.sh | 2 +- config/manager/manager.yaml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bundle/manifests/susql-operator.clusterserviceversion.yaml b/bundle/manifests/susql-operator.clusterserviceversion.yaml index 5f40f66..7a02ae2 100644 --- a/bundle/manifests/susql-operator.clusterserviceversion.yaml +++ b/bundle/manifests/susql-operator.clusterserviceversion.yaml @@ -23,7 +23,7 @@ metadata: capabilities: Basic Install categories: Monitoring containerImage: quay.io/sustainable_computing_io/susql_operator:0.0.19 - createdAt: "2024-06-21T03:56:29Z" + createdAt: "2024-06-21T06:11:03Z" description: 'Aggregates energy data from pods tagged with SusQL labels ' operators.operatorframework.io/builder: operator-sdk-v1.34.1 operators.operatorframework.io/project_layout: go.kubebuilder.io/v4 @@ -249,10 +249,10 @@ spec: resources: limits: cpu: 500m - memory: 128Mi + memory: 512Mi requests: cpu: 10m - memory: 64Mi + memory: 128Mi securityContext: allowPrivilegeEscalation: false capabilities: diff --git a/cmd/debug-entrypoint.sh b/cmd/debug-entrypoint.sh index 6972314..03c091e 100755 --- a/cmd/debug-entrypoint.sh +++ b/cmd/debug-entrypoint.sh @@ -12,5 +12,5 @@ echo MANAGER TERMINATED! ERROR=${ec} AT $(date) echo echo sleeping -sleep 9999 +sleep 999 echo terminating diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 9b8ace9..8339403 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -67,7 +67,7 @@ spec: containers: - command: - /manager - # - /debug-entrypoint.sh +# - /debug-entrypoint.sh env: - name: KEPLER-PROMETHEUS-URL value: "https://thanos-querier.openshift-monitoring.svc.cluster.local:9091" @@ -128,9 +128,9 @@ spec: resources: limits: cpu: 500m - memory: 128Mi + memory: 512Mi requests: cpu: 10m - memory: 64Mi + memory: 128Mi serviceAccountName: susql-controller-manager terminationGracePeriodSeconds: 10