Skip to main content

Limit Range

A LimitRange is a Kubernetes resource that enables administrators to set resource usage limits (such as CPU and memory) for namespaces. This helps ensure that no single pod consumes excessive resources, thereby providing fair resource access to all applications running in a cluster. For further details, you can refer to the official Kubernetes documentation on LimitRange.

Terraform Mappings:

  • kubernetes_limit_range_v1.metadata[0].name
  • kubernetes_limit_range.metadata[0].name

Supported Methods​

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