Skip to content

Commit e98ee43

Browse files
author
Yann Hamon
committed
Adding new schemas
1 parent 814b850 commit e98ee43

File tree

152 files changed

+3671
-48
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+3671
-48
lines changed

master-local/_definitions.json

+28-2
Original file line numberDiff line numberDiff line change
@@ -7419,6 +7419,19 @@
74197419
],
74207420
"type": "object"
74217421
},
7422+
"io.k8s.api.core.v1.PodSchedulingGate": {
7423+
"description": "PodSchedulingGate is associated to a Pod to guard its scheduling.",
7424+
"properties": {
7425+
"name": {
7426+
"description": "Name of the scheduling gate. Each scheduling gate must have a unique name field.",
7427+
"type": "string"
7428+
}
7429+
},
7430+
"required": [
7431+
"name"
7432+
],
7433+
"type": "object"
7434+
},
74227435
"io.k8s.api.core.v1.PodSecurityContext": {
74237436
"description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.",
74247437
"properties": {
@@ -7623,6 +7636,19 @@
76237636
"description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.",
76247637
"type": "string"
76257638
},
7639+
"schedulingGates": {
7640+
"description": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. More info: https://git.k8s.io/enhancements/keps/sig-scheduling/3521-pod-scheduling-readiness.\n\nThis is an alpha-level feature enabled by PodSchedulingReadiness feature gate.",
7641+
"items": {
7642+
"$ref": "#/definitions/io.k8s.api.core.v1.PodSchedulingGate"
7643+
},
7644+
"type": "array",
7645+
"x-kubernetes-list-map-keys": [
7646+
"name"
7647+
],
7648+
"x-kubernetes-list-type": "map",
7649+
"x-kubernetes-patch-merge-key": "name",
7650+
"x-kubernetes-patch-strategy": "merge"
7651+
},
76267652
"securityContext": {
76277653
"$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext",
76287654
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."
@@ -9810,11 +9836,11 @@
98109836
"type": "boolean"
98119837
},
98129838
"serving": {
9813-
"description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.",
9839+
"description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
98149840
"type": "boolean"
98159841
},
98169842
"terminating": {
9817-
"description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.",
9843+
"description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
98189844
"type": "boolean"
98199845
}
98209846
},

master-local/all.json

+3
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,9 @@
738738
{
739739
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodReadinessGate"
740740
},
741+
{
742+
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodSchedulingGate"
743+
},
741744
{
742745
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodSecurityContext"
743746
},

master-local/endpointconditions-discovery-v1.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
]
1010
},
1111
"serving": {
12-
"description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.",
12+
"description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
1313
"type": [
1414
"boolean",
1515
"null"
1616
]
1717
},
1818
"terminating": {
19-
"description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.",
19+
"description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
2020
"type": [
2121
"boolean",
2222
"null"

master-local/endpointconditions.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
]
1010
},
1111
"serving": {
12-
"description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.",
12+
"description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
1313
"type": [
1414
"boolean",
1515
"null"
1616
]
1717
},
1818
"terminating": {
19-
"description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.",
19+
"description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
2020
"type": [
2121
"boolean",
2222
"null"
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"description": "PodSchedulingGate is associated to a Pod to guard its scheduling.",
3+
"properties": {
4+
"name": {
5+
"description": "Name of the scheduling gate. Each scheduling gate must have a unique name field.",
6+
"type": [
7+
"string",
8+
"null"
9+
]
10+
}
11+
},
12+
"required": [
13+
"name"
14+
],
15+
"type": "object",
16+
"$schema": "http://json-schema.org/schema#"
17+
}

master-local/podschedulinggate.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"description": "PodSchedulingGate is associated to a Pod to guard its scheduling.",
3+
"properties": {
4+
"name": {
5+
"description": "Name of the scheduling gate. Each scheduling gate must have a unique name field.",
6+
"type": [
7+
"string",
8+
"null"
9+
]
10+
}
11+
},
12+
"required": [
13+
"name"
14+
],
15+
"type": "object",
16+
"$schema": "http://json-schema.org/schema#"
17+
}

master-local/podspec-v1.json

+16
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,22 @@
221221
"null"
222222
]
223223
},
224+
"schedulingGates": {
225+
"description": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. More info: https://git.k8s.io/enhancements/keps/sig-scheduling/3521-pod-scheduling-readiness.\n\nThis is an alpha-level feature enabled by PodSchedulingReadiness feature gate.",
226+
"items": {
227+
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodSchedulingGate"
228+
},
229+
"type": [
230+
"array",
231+
"null"
232+
],
233+
"x-kubernetes-list-map-keys": [
234+
"name"
235+
],
236+
"x-kubernetes-list-type": "map",
237+
"x-kubernetes-patch-merge-key": "name",
238+
"x-kubernetes-patch-strategy": "merge"
239+
},
224240
"securityContext": {
225241
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodSecurityContext",
226242
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."

master-local/podspec.json

+16
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,22 @@
221221
"null"
222222
]
223223
},
224+
"schedulingGates": {
225+
"description": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. More info: https://git.k8s.io/enhancements/keps/sig-scheduling/3521-pod-scheduling-readiness.\n\nThis is an alpha-level feature enabled by PodSchedulingReadiness feature gate.",
226+
"items": {
227+
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodSchedulingGate"
228+
},
229+
"type": [
230+
"array",
231+
"null"
232+
],
233+
"x-kubernetes-list-map-keys": [
234+
"name"
235+
],
236+
"x-kubernetes-list-type": "map",
237+
"x-kubernetes-patch-merge-key": "name",
238+
"x-kubernetes-patch-strategy": "merge"
239+
},
224240
"securityContext": {
225241
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodSecurityContext",
226242
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."

master-standalone-strict/_definitions.json

+29-2
Original file line numberDiff line numberDiff line change
@@ -7664,6 +7664,20 @@
76647664
"type": "object",
76657665
"additionalProperties": false
76667666
},
7667+
"io.k8s.api.core.v1.PodSchedulingGate": {
7668+
"description": "PodSchedulingGate is associated to a Pod to guard its scheduling.",
7669+
"properties": {
7670+
"name": {
7671+
"description": "Name of the scheduling gate. Each scheduling gate must have a unique name field.",
7672+
"type": "string"
7673+
}
7674+
},
7675+
"required": [
7676+
"name"
7677+
],
7678+
"type": "object",
7679+
"additionalProperties": false
7680+
},
76677681
"io.k8s.api.core.v1.PodSecurityContext": {
76687682
"description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.",
76697683
"properties": {
@@ -7869,6 +7883,19 @@
78697883
"description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.",
78707884
"type": "string"
78717885
},
7886+
"schedulingGates": {
7887+
"description": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. More info: https://git.k8s.io/enhancements/keps/sig-scheduling/3521-pod-scheduling-readiness.\n\nThis is an alpha-level feature enabled by PodSchedulingReadiness feature gate.",
7888+
"items": {
7889+
"$ref": "#/definitions/io.k8s.api.core.v1.PodSchedulingGate"
7890+
},
7891+
"type": "array",
7892+
"x-kubernetes-list-map-keys": [
7893+
"name"
7894+
],
7895+
"x-kubernetes-list-type": "map",
7896+
"x-kubernetes-patch-merge-key": "name",
7897+
"x-kubernetes-patch-strategy": "merge"
7898+
},
78727899
"securityContext": {
78737900
"$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext",
78747901
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."
@@ -10122,11 +10149,11 @@
1012210149
"type": "boolean"
1012310150
},
1012410151
"serving": {
10125-
"description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.",
10152+
"description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
1012610153
"type": "boolean"
1012710154
},
1012810155
"terminating": {
10129-
"description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.",
10156+
"description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
1013010157
"type": "boolean"
1013110158
}
1013210159
},

master-standalone-strict/all.json

+3
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,9 @@
738738
{
739739
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodReadinessGate"
740740
},
741+
{
742+
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodSchedulingGate"
743+
},
741744
{
742745
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodSecurityContext"
743746
},

master-standalone-strict/cronjob-batch-v1.json

+30
Original file line numberDiff line numberDiff line change
@@ -7529,6 +7529,36 @@
75297529
"null"
75307530
]
75317531
},
7532+
"schedulingGates": {
7533+
"description": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. More info: https://git.k8s.io/enhancements/keps/sig-scheduling/3521-pod-scheduling-readiness.\n\nThis is an alpha-level feature enabled by PodSchedulingReadiness feature gate.",
7534+
"items": {
7535+
"description": "PodSchedulingGate is associated to a Pod to guard its scheduling.",
7536+
"properties": {
7537+
"name": {
7538+
"description": "Name of the scheduling gate. Each scheduling gate must have a unique name field.",
7539+
"type": "string"
7540+
}
7541+
},
7542+
"required": [
7543+
"name"
7544+
],
7545+
"type": [
7546+
"object",
7547+
"null"
7548+
],
7549+
"additionalProperties": false
7550+
},
7551+
"type": [
7552+
"array",
7553+
"null"
7554+
],
7555+
"x-kubernetes-list-map-keys": [
7556+
"name"
7557+
],
7558+
"x-kubernetes-list-type": "map",
7559+
"x-kubernetes-patch-merge-key": "name",
7560+
"x-kubernetes-patch-strategy": "merge"
7561+
},
75327562
"securityContext": {
75337563
"description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.",
75347564
"properties": {

master-standalone-strict/cronjob.json

+30
Original file line numberDiff line numberDiff line change
@@ -7526,6 +7526,36 @@
75267526
"null"
75277527
]
75287528
},
7529+
"schedulingGates": {
7530+
"description": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. More info: https://git.k8s.io/enhancements/keps/sig-scheduling/3521-pod-scheduling-readiness.\n\nThis is an alpha-level feature enabled by PodSchedulingReadiness feature gate.",
7531+
"items": {
7532+
"description": "PodSchedulingGate is associated to a Pod to guard its scheduling.",
7533+
"properties": {
7534+
"name": {
7535+
"description": "Name of the scheduling gate. Each scheduling gate must have a unique name field.",
7536+
"type": "string"
7537+
}
7538+
},
7539+
"required": [
7540+
"name"
7541+
],
7542+
"type": [
7543+
"object",
7544+
"null"
7545+
],
7546+
"additionalProperties": false
7547+
},
7548+
"type": [
7549+
"array",
7550+
"null"
7551+
],
7552+
"x-kubernetes-list-map-keys": [
7553+
"name"
7554+
],
7555+
"x-kubernetes-list-type": "map",
7556+
"x-kubernetes-patch-merge-key": "name",
7557+
"x-kubernetes-patch-strategy": "merge"
7558+
},
75297559
"securityContext": {
75307560
"description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.",
75317561
"properties": {

master-standalone-strict/cronjoblist-batch-v1.json

+30
Original file line numberDiff line numberDiff line change
@@ -7544,6 +7544,36 @@
75447544
"null"
75457545
]
75467546
},
7547+
"schedulingGates": {
7548+
"description": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. More info: https://git.k8s.io/enhancements/keps/sig-scheduling/3521-pod-scheduling-readiness.\n\nThis is an alpha-level feature enabled by PodSchedulingReadiness feature gate.",
7549+
"items": {
7550+
"description": "PodSchedulingGate is associated to a Pod to guard its scheduling.",
7551+
"properties": {
7552+
"name": {
7553+
"description": "Name of the scheduling gate. Each scheduling gate must have a unique name field.",
7554+
"type": "string"
7555+
}
7556+
},
7557+
"required": [
7558+
"name"
7559+
],
7560+
"type": [
7561+
"object",
7562+
"null"
7563+
],
7564+
"additionalProperties": false
7565+
},
7566+
"type": [
7567+
"array",
7568+
"null"
7569+
],
7570+
"x-kubernetes-list-map-keys": [
7571+
"name"
7572+
],
7573+
"x-kubernetes-list-type": "map",
7574+
"x-kubernetes-patch-merge-key": "name",
7575+
"x-kubernetes-patch-strategy": "merge"
7576+
},
75477577
"securityContext": {
75487578
"description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.",
75497579
"properties": {

0 commit comments

Comments
 (0)