ResourceQuota [v1]
- Description
- ResourceQuota sets aggregate quota restrictions enforced per namespace
- Type
object
Specification
.spec
- Description
- ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
- Type
object
.spec.hard
- Description
- hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
- Type
object
.spec.scopeSelector
- Description
- A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.
- Type
object
.spec.scopeSelector.matchExpressions
- Description
- A list of scope selector requirements by scope of the resources.
- Type
array
.spec.scopeSelector.matchExpressions[]
- Description
- A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
- Type
object- Required
scopeNameoperator
.spec.scopeSelector.matchExpressions[].values
- Description
- An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- Type
array
.spec.scopeSelector.matchExpressions[].values[]
- Type
string
.spec.scopes
- Description
- A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
- Type
array
.spec.scopes[]
- Type
string
.status
- Description
- ResourceQuotaStatus defines the enforced hard limits and observed use.
- Type
object
.status.hard
- Description
- Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
- Type
object
.status.used
- Description
- Used is the current observed total usage of the resource in the namespace.
- Type
object
API Endpoints
The following API endpoints are available:
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotasDELETE: delete collection of ResourceQuotaGET: list objects of kind ResourceQuotaPOST: create a new ResourceQuota
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotas/{name}DELETE: delete the specified ResourceQuotaGET: read the specified ResourceQuotaPATCH: partially update the specified ResourceQuotaPUT: replace the specified ResourceQuota
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotas/{name}/statusGET: read status of the specified ResourceQuotaPATCH: partially update status of the specified ResourceQuotaPUT: replace status of the specified ResourceQuota
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotas
- HTTP method
DELETE- Description
- delete collection of ResourceQuota
- HTTP responses
- HTTP method
GET- Description
- list objects of kind ResourceQuota
- HTTP responses
- HTTP method
POST- Description
- create a new ResourceQuota
- Query parameters
- Body parameters
- HTTP responses
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotas/{name}
- HTTP method
DELETE- Description
- delete the specified ResourceQuota
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified ResourceQuota
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified ResourceQuota
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified ResourceQuota
- Query parameters
- Body parameters
- HTTP responses
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotas/{name}/status
- HTTP method
GET- Description
- read status of the specified ResourceQuota
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified ResourceQuota
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified ResourceQuota
- Query parameters
- Body parameters
- HTTP responses