Skip to main content

Resource Quota

A Resource Quota in Kubernetes is a restriction placed on the use of resources within a namespace. It ensures that the aggregate resource usage of several entities within a namespace does not exceed specified limits. These quotas are essential in environments where multiple teams share resources, allowing for fair and efficient distribution of available resources. Resource quotas can limit the number of objects or the total amount of compute resources in a given namespace. More details about Resource Quotas can be found in the official Kubernetes documentation.

Terraform Mappings:

  • kubernetes_resource_quota_v1.metadata[0].name
  • kubernetes_resource_quota.metadata[0].name

Supported Methods​

  • GET: Get a Resource Quota by name
  • LIST: List all Resource Quotas
  • SEARCH: Search for a Resource Quota using the ListOptions JSON format e.g. ("labelSelector": "app=wordpress")