ClusterResourceQuota usage is above project quota in OpenShift Container Platform
Issue
- In our OCP 3.9 cluster customers experience an interesting issue with CRQ from time to time. It mostly happens that when build or deployment is triggered in a project that has project quota setup and belongs to
clusterresourcequota. There are free resources both on project level and on the CRQ level. After the build/deployment is triggered, the usage of CPU goes up for this single project in CRQ. It gets higher than what is allowed by the project quota. The pod can't be started due to scheduling problem - the quota limit has been reached. - In case the project quota exceed it's resources (hitting the limit), the pod or activity can't run (as expected). But the usage in the
ClusterResourceQuotacontinues to grow (not sure where this growth is coming from) and eventually will reach its limit, which has an impact on all other project(s). AsClusterResourceQuotais used up, all other project(s) fail to run any activity.
Environment
- Red Hat OpenShift Container Platform 3.9, 3.10, 3.11, 4.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.