Skip to content

Commit

Permalink
chore: tuning resource usage for operator pod (#1120)
Browse files Browse the repository at this point in the history
* chore: tuning resource usage for operator pod

- reduce cpu and mem usage in requests from profiling data

Signed-off-by: Wen Zhou <wenzhou@redhat.com>

* update: data from 2.11 with all default components up

Signed-off-by: Wen Zhou <wenzhou@redhat.com>

---------

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
(cherry picked from commit d6ae248)
  • Loading branch information
zdtsw authored and openshift-merge-bot[bot] committed Aug 16, 2024
1 parent 0bcda9d commit 7ef459e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bundle/manifests/rhods-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1740,8 +1740,8 @@ spec:
cpu: 500m
memory: 4Gi
requests:
cpu: 500m
memory: 256Mi
cpu: 100m
memory: 780Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
4 changes: 2 additions & 2 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
cpu: 500m
memory: 4Gi
requests:
cpu: 500m
memory: 256Mi
cpu: 100m
memory: 780Mi
serviceAccountName: controller-manager
terminationGracePeriodSeconds: 10

0 comments on commit 7ef459e

Please sign in to comment.