Description of problem: In user's plan , the Max memory is 2Gi Memory for application. But User can create project quota over 2Gi, such as limits.memory=10Gi. Version-Release number of selected component (if applicable): Online-STG 3.5.5.25 online version:3.5.1.32 How reproducible: 100% quota.json: { "apiVersion": "v1", "kind": "ResourceQuota", "metadata": { "name": "compute-resources" }, "spec": { "hard": { "limits.cpu": "4", "limits.memory": "10Gi" }, "scopes": [ "NotTerminating" ] } } Steps to Reproduce: 1.login in online-stg , subscribe a base plan; 2.oc new-project pro2; 3.oc create quota.json -n pro2; 4.oc describe quota compute-resources -n pro2 Actual results: 3.resourcequota "compute-resources" created 4. Name: compute-resources Namespace: pro2 Scopes: NotTerminating * Matches all pods that do not have an active deadline. Resource Used Hard -------- ---- ---- limits.cpu 0 4 limits.memory 0 10Gi Expected Result Failure in create project quota when the memory is over Max memory the user have.
The user is allowed to create a project that that exceeds the user quota. However, the user cannot consume resources that exceed either the project quota or the user (CRQ) quota. The quota screen on the console will show show that the user quota max has been reached.
ok , thanks