Skip to content

Commit

Permalink
Merge pull request #111 from sustainable-computing-io/issue-109
Browse files Browse the repository at this point in the history
allocate more memory for container
  • Loading branch information
trent-s authored Jun 21, 2024
2 parents 0ba84eb + 1a77f06 commit 5525998
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions bundle/manifests/susql-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -249,10 +249,10 @@ spec:
resources:
limits:
cpu: 500m
memory: 128Mi
memory: 512Mi
requests:
cpu: 10m
memory: 64Mi
memory: 128Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
2 changes: 1 addition & 1 deletion cmd/debug-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ echo MANAGER TERMINATED! ERROR=${ec} AT $(date)
echo

echo sleeping
sleep 9999
sleep 999
echo terminating
6 changes: 3 additions & 3 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

0 comments on commit 5525998

Please sign in to comment.