Skip to content

Commit

Permalink
chore: tuning resource usage for operator pod
Browse files Browse the repository at this point in the history
- reduce cpu and mem usage from limit and request
- request from testing in a large cluster psi-04
- limit from pref

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
  • Loading branch information
zdtsw committed Jul 19, 2024
1 parent 5a0b4b9 commit eaadf31
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions bundle/manifests/opendatahub-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ metadata:
categories: AI/Machine Learning, Big Data
certified: "False"
containerImage: quay.io/opendatahub/opendatahub-operator:v2.14.0
createdAt: "2024-06-25T17:51:36Z"
olm.skipRange: '>=1.0.0 <2.14.0'
createdAt: "2024-07-19T07:30:23Z"
olm.skipRange: '>=1.0.0 <2.15.0'
operators.operatorframework.io/builder: operator-sdk-v1.31.0
operators.operatorframework.io/internal-objects: '[dscinitialization.opendatahub.io]'
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/opendatahub-io/opendatahub-operator
name: opendatahub-operator.v2.14.0
name: opendatahub-operator.v2.15.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -1730,10 +1730,10 @@ spec:
periodSeconds: 10
resources:
limits:
cpu: 500m
memory: 4Gi
cpu: 300m
memory: 900Mi
requests:
cpu: 500m
cpu: 25m
memory: 256Mi
securityContext:
allowPrivilegeEscalation: false
Expand Down Expand Up @@ -1789,7 +1789,7 @@ spec:
selector:
matchLabels:
component: opendatahub-operator
version: 2.14.0
version: 2.15.0
webhookdefinitions:
- admissionReviewVersions:
- v1
Expand Down
6 changes: 3 additions & 3 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ spec:
# More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources:
limits:
cpu: 500m
memory: 4Gi
cpu: 300m
memory: 900Mi
requests:
cpu: 500m
cpu: 25m
memory: 256Mi
serviceAccountName: controller-manager
terminationGracePeriodSeconds: 10

0 comments on commit eaadf31

Please sign in to comment.