Resource Quotas

Why we need resource quotas ?

Multiple users or teams share the same infrastructure, and they should only use a particular share of the resources. The resource quota defined by ResourceQuota object provides the constrains that limit the aggregate resource consumption per namespace.

More details could be found herearrow-up-right

Storage Resource Quota

The total sum of storage resources could be limited in a given namespace.

Resource Name

Description

requests.storage

Across all persistent volume claims, the sum of storage requests cannot exceed this value.

persistentvolumeclaims

The total number of persistent volume claimsarrow-up-right that can exist in the namespace.

<storage-class-name>.storageclass.storage.k8s.io/requests.storage

Across all persistent volume claims associated with the storage-class-name, the sum of storage requests cannot exceed this value.

<storage-class-name>.storageclass.storage.k8s.io/persistentvolumeclaims

Across all persistent volume claims associated with the storage-class-name, the total number of persistent volume claimsarrow-up-right that can exist in the namespace.

There are Compute Resource Quota, Object Count Quota and more. They could be found from the official docs:

Last updated