Skip to main content
Version: v2.6

Resource Quota Type Reference

When you create a resource quota, you are configuring the pool of resources available to the project. You can set the following resource limits for the following resource types.

Resource TypeDescription
CPU Limit*The maximum amount of CPU (in millicores) allocated to the project/namespace.1
CPU Reservation*The minimum amount of CPU (in millicores) guaranteed to the project/namespace.1
Memory Limit*The maximum amount of memory (in bytes) allocated to the project/namespace.1
Memory Reservation*The minimum amount of memory (in bytes) guaranteed to the project/namespace.1
Storage ReservationThe minimum amount of storage (in gigabytes) guaranteed to the project/namespace.
Services Load BalancersThe maximum number of load balancers services that can exist in the project/namespace.
Services Node PortsThe maximum number of node port services that can exist in the project/namespace.
PodsThe maximum number of pods that can exist in the project/namespace in a non-terminal state (i.e., pods with a state of .status.phase in (Failed, Succeeded) equal to true).
ServicesThe maximum number of services that can exist in the project/namespace.
ConfigMapsThe maximum number of ConfigMaps that can exist in the project/namespace.
Persistent Volume ClaimsThe maximum number of persistent volume claims that can exist in the project/namespace.
Replications ControllersThe maximum number of replication controllers that can exist in the project/namespace.
SecretsThe maximum number of secrets that can exist in the project/namespace.
*

When setting resource quotas, if you set anything related to CPU or Memory (i.e. limits or reservations) on a project / namespace, all containers will require a respective CPU or Memory field set during creation. A container default resource limit can be set at the same time to avoid the need to explicitly set these limits for every workload. See the Kubernetes documentation for more details on why this is required.