Skip to content

Create a Resource Quota ​

Set limits on the total CPU, memory, and object counts that can be used within a namespace.

Prerequisites

  • Cluster administrator or namespace management permissions are required.
  • The target namespace must exist.

Step 1. Open the Create Resource Quota form ​

Select Policy → Resource quotas from the left sidebar. Click the Create resource quota button in the top right.


Step 2. Enter basic information ​

FieldDescriptionExample
NameResource Quota namedev-team-quota
NamespaceTarget namespacedev

Step 3. Configure resource limits ​

Click Add Resource to add limits.

Compute resource limits ​

ResourceDescriptionExample
requests.cpuSum of all CPU requests in the namespace4 (cores)
limits.cpuSum of all CPU limits in the namespace8
requests.memorySum of all memory requests8Gi
limits.memorySum of all memory limits16Gi

Object count limits ​

ResourceDescriptionExample
podsMaximum number of Pods20
servicesMaximum number of Services10
persistentvolumeclaimsMaximum number of PVCs10
secretsMaximum number of Secrets20
configmapsMaximum number of ConfigMaps20

TIP

When a Resource Quota is applied, all Pods in that namespace must explicitly declare requests.cpu and requests.memory. Use a Limit Range to automatically apply defaults.


Step 4. Confirm creation ​

Click Create. In the Resource quotas list, the Used/Hard column shows current usage versus the configured limit.


Next Steps ​

The New Standard for AI Infrastructure