forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprioritylevelconfigurationspec-flowcontrol-v1beta3.json
34 lines (34 loc) · 1.86 KB
/
prioritylevelconfigurationspec-flowcontrol-v1beta3.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.",
"properties": {
"exempt": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.30.1/_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta3.ExemptPriorityLevelConfiguration",
"description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply."
},
"limited": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.30.1/_definitions.json#/definitions/io.k8s.api.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration",
"description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`."
},
"type": {
"description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.",
"type": [
"string",
"null"
]
}
},
"required": [
"type"
],
"type": "object",
"x-kubernetes-unions": [
{
"discriminator": "type",
"fields-to-discriminateBy": {
"exempt": "Exempt",
"limited": "Limited"
}
}
],
"$schema": "http://json-schema.org/schema#"
}