Skip to content

quota.v1.clusterResourceQuotaSpec

"ClusterResourceQuotaSpec defines the desired quota restrictions"

Index

Fields

obj quota

"ResourceQuotaSpec defines the desired hard limits to enforce for Quota."

fn quota.withHard

withHard(hard)

"hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"

fn quota.withHardMixin

withHardMixin(hard)

"hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/"

Note: This function appends passed data to existing values

fn quota.withScopes

withScopes(scopes)

"A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects."

fn quota.withScopesMixin

withScopesMixin(scopes)

"A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects."

Note: This function appends passed data to existing values

obj quota.scopeSelector

"A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements."

fn quota.scopeSelector.withMatchExpressions

withMatchExpressions(matchExpressions)

"A list of scope selector requirements by scope of the resources."

fn quota.scopeSelector.withMatchExpressionsMixin

withMatchExpressionsMixin(matchExpressions)

"A list of scope selector requirements by scope of the resources."

Note: This function appends passed data to existing values

obj selector

"ClusterResourceQuotaSelector is used to select projects. At least one of LabelSelector or AnnotationSelector must present. If only one is present, it is the only selection criteria. If both are specified, the project must match both restrictions."

fn selector.withAnnotations

withAnnotations(annotations)

"AnnotationSelector is used to select projects by annotation."

fn selector.withAnnotationsMixin

withAnnotationsMixin(annotations)

"AnnotationSelector is used to select projects by annotation."

Note: This function appends passed data to existing values

obj selector.labels

"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."

fn selector.labels.withMatchExpressions

withMatchExpressions(matchExpressions)

"matchExpressions is a list of label selector requirements. The requirements are ANDed."

fn selector.labels.withMatchExpressionsMixin

withMatchExpressionsMixin(matchExpressions)

"matchExpressions is a list of label selector requirements. The requirements are ANDed."

Note: This function appends passed data to existing values

fn selector.labels.withMatchLabels

withMatchLabels(matchLabels)

"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."

fn selector.labels.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."

Note: This function appends passed data to existing values