mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-02 09:47:06 +00:00
Introduce priority class in the resource quota
This commit is contained in:
committed by
vikaschoudhary16
parent
4c13f5fdf5
commit
3cfe6412c7
42
api/openapi-spec/swagger.json
generated
42
api/openapi-spec/swagger.json
generated
@@ -80125,12 +80125,16 @@
|
||||
"description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.",
|
||||
"properties": {
|
||||
"hard": {
|
||||
"description": "Hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/",
|
||||
"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",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
|
||||
}
|
||||
},
|
||||
"scopeSelector": {
|
||||
"description": "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.",
|
||||
"$ref": "#/definitions/io.k8s.api.core.v1.ScopeSelector"
|
||||
},
|
||||
"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",
|
||||
@@ -80299,6 +80303,42 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"io.k8s.api.core.v1.ScopeSelector": {
|
||||
"description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.",
|
||||
"properties": {
|
||||
"matchExpressions": {
|
||||
"description": "A list of scope selector requirements by scope of the resources.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/io.k8s.api.core.v1.ScopedResourceSelectorRequirement"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"io.k8s.api.core.v1.ScopedResourceSelectorRequirement": {
|
||||
"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.",
|
||||
"required": [
|
||||
"scopeName",
|
||||
"operator"
|
||||
],
|
||||
"properties": {
|
||||
"operator": {
|
||||
"description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.",
|
||||
"type": "string"
|
||||
},
|
||||
"scopeName": {
|
||||
"description": "The name of the scope that the selector applies to.",
|
||||
"type": "string"
|
||||
},
|
||||
"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",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"io.k8s.api.core.v1.Secret": {
|
||||
"description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.",
|
||||
"properties": {
|
||||
|
Reference in New Issue
Block a user