@jkcfg/kubernetes
Version:
jk Kubernetes library
34 lines • 1.28 kB
JSON
{
"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/",
"type": [
"object",
"null"
],
"additionalProperties": {
"$ref": "_definitions.json#/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.json#/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",
"null"
],
"items": {
"type": [
"string",
"null"
]
}
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}