ResourceQuota core/v1
ResourceQuota sets aggregate quota restrictions enforced per namespace
Fields
- apiVersion:
v1 - kind:
ResourceQuota - metadata (ObjectMeta)
-
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- spec (ResourceQuotaSpec)
-
Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
- status (ResourceQuotaStatus)
-
Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
ResourceQuotaSpec
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
- hard (map[string]Quantity)
-
hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
- scopeSelector (ScopeSelector)
-
scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.
- scopes ([]string)
-
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
ScopeSelector
A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.
- matchExpressions ([]ScopedResourceSelectorRequirement)
-
A list of scope selector requirements by scope of the resources.
A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
- matchExpressions.operator (string)
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
- matchExpressions.scopeName (string)
The name of the scope that the selector applies to.
- matchExpressions.values ([]string)
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.
ResourceQuotaStatus
ResourceQuotaStatus defines the enforced hard limits and observed use.
- hard (map[string]Quantity)
-
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
- used (map[string]Quantity)
-
Used is the current observed total usage of the resource in the namespace.
ResourceQuotaList
ResourceQuotaList is a list of ResourceQuota items.
- apiVersion:
v1 - kind:
ResourceQuotaList - metadata (ListMeta)
-
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- items ([]ResourceQuota)
-
Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/