ResourceQuotaSpec

io.k8s.api.core.v1.ResourceQuotaSpec source ↗

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

hardmap[string]Quantityhard is the set of desired hard limits for each named resource.More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
scopeSelectorScopeSelectorscopeSelector 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.
matchExpressions[]ScopedResourceSelectorRequirementA list of scope selector requirements by scope of the resources.
operatorstring requiredRepresents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
scopeNamestring requiredThe name of the scope that the selector applies to.
values[]stringAn 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.
scopes[]stringA collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.