Description of problem: By default openshift does not specify memory requests and limits for the image registry operator. Version-Release number of selected component (if applicable): 4.6 How reproducible: Always Steps to Reproduce: 1. oc get -o json pod operator-pod |jq ".spec.containers[].resources" Actual results: { "requests": { "cpu": "10m" } } Expected results: { "requests": { "cpu": "10m" "memory": "<some value>" }, "limits": { "cpu": "10m" "memory": "<some value>" } }
The operator doesn't need limits. So expected results: { "requests": { "cpu": "10m" "memory": "<some value>" } }
$ oc get -o json pod cluster-image-registry-operator-5b6f5ff8b-rwwgp |jq ".spec.containers[].resources" { "requests": { "cpu": "10m", "memory": "50Mi" } } Verified on 4.7.0-0.nightly-2020-10-24-155529.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633