Skip to content

Commit

Permalink
remove resource limits on ocs-metrics-exporter
Browse files Browse the repository at this point in the history
removing the limits on ocs-metrics-exporter, the in memory cache scales
with the amount of PVs in the cluster making it hard to point out an
upper limit for the memory.

Signed-off-by: Divyansh Kamboj <[email protected]>
  • Loading branch information
weirdwiz authored and openshift-cherrypick-robot committed Sep 20, 2024
1 parent 92b5640 commit d4c0574
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions controllers/defaults/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ var (
"memory": resource.MustParse("50Mi"),
"cpu": resource.MustParse("50m"),
},
Limits: corev1.ResourceList{
"memory": resource.MustParse("150Mi"),
"cpu": resource.MustParse("150m"),
},
},
}

Expand Down
4 changes: 0 additions & 4 deletions metrics/deploy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ spec:
readOnly: true
mountPath: /etc/kube-rbac-policy
- resources:
limits:
cpu: 150m
memory: 150Mi
requests:
cpu: 50m
memory: 50Mi
Expand Down Expand Up @@ -145,4 +142,3 @@ spec:
- name: ocs-metrics-exporter-kube-rbac-proxy-config
secret:
secretName: ocs-metrics-exporter-kube-rbac-proxy-config

0 comments on commit d4c0574

Please sign in to comment.