All payload components should request a reasonable minimum CPU and p90 memory usage https://github.com/openshift/enhancements/blob/master/CONVENTIONS.md#resources-and-limits The kube-scheduler-operator container does not specify a CPU. Please follow recommendations in that doc. Referenced from the new e2e test which gates components without resource requests and enforces the resource conventions.
PR just waiting to be merged
Verified bug with the payload below and i see that there is a cpu. [knarra@knarra openshift-client-linux-4.8.0-0.nightly-2021-03-22-094046]$ ./oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.8.0-0.nightly-2021-03-22-094046 True False 141m Cluster version is 4.8.0-0.nightly-2021-03-22-094046 [knarra@knarra openshift-client-linux-4.8.0-0.nightly-2021-03-22-094046]$ ./oc get pod openshift-kube-scheduler-operator-f65db4b77-5qr9f -o yaml -n openshift-kube-scheduler-operator | grep -i cpu f:cpu: {} cpu: 10m [knarra@knarra openshift-client-linux-4.8.0-0.nightly-2021-03-22-094046]$ ./oc get pod openshift-kube-scheduler-operator-f65db4b77-5qr9f -o yaml -n openshift-kube-scheduler-operator | grep -i memory f:memory: {} memory: 50Mi key: node.kubernetes.io/memory-pressure In the previous version where the fix is not present i do not see cpu being listed: =================================================================================== [knarra@knarra openshift-client-linux-4.8.0-0.nightly-2021-03-22-094046]$ ./oc get pod openshift-kube-scheduler-operator-84b8d76f7f-wqgt6 -o yaml -n openshift-kube-scheduler-operator | grep -i cpu [knarra@knarra openshift-client-linux-4.8.0-0.nightly-2021-03-22-094046]$ ./oc get pod openshift-kube-scheduler-operator-84b8d76f7f-wqgt6 -o yaml -n openshift-kube-scheduler-operator | grep -i memory f:memory: {} memory: 50Mi key: node.kubernetes.io/memory-pressure Based on the above moving bug to verified state.
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.8.2 bug fix and security 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-2021:2438