Skip to content

Commit 2b50c66

Browse files
Commit from GitHub Actions (Scheduled Jobs)
1 parent e60c5fd commit 2b50c66

File tree

3 files changed

+221
-84
lines changed

3 files changed

+221
-84
lines changed

schema/autoscaling.k8s.io/verticalpodautoscaler_v1.json

Lines changed: 221 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,32 @@
11
{
22
"properties": {
3+
"apiVersion": {
4+
"type": "string"
5+
},
6+
"kind": {
7+
"type": "string"
8+
},
9+
"metadata": {
10+
"type": "object"
11+
},
312
"spec": {
413
"additionalProperties": false,
514
"properties": {
15+
"recommenders": {
16+
"items": {
17+
"additionalProperties": false,
18+
"properties": {
19+
"name": {
20+
"type": "string"
21+
}
22+
},
23+
"required": [
24+
"name"
25+
],
26+
"type": "object"
27+
},
28+
"type": "array"
29+
},
630
"resourcePolicy": {
731
"additionalProperties": false,
832
"properties": {
@@ -15,10 +39,6 @@
1539
},
1640
"controlledResources": {
1741
"items": {
18-
"enum": [
19-
"cpu",
20-
"memory"
21-
],
2242
"type": "string"
2343
},
2444
"type": "array"
@@ -31,9 +51,33 @@
3151
"type": "string"
3252
},
3353
"maxAllowed": {
54+
"additionalProperties": {
55+
"anyOf": [
56+
{
57+
"type": "integer"
58+
},
59+
{
60+
"type": "string"
61+
}
62+
],
63+
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
64+
"x-kubernetes-int-or-string": true
65+
},
3466
"type": "object"
3567
},
3668
"minAllowed": {
69+
"additionalProperties": {
70+
"anyOf": [
71+
{
72+
"type": "integer"
73+
},
74+
{
75+
"type": "string"
76+
}
77+
],
78+
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
79+
"x-kubernetes-int-or-string": true
80+
},
3781
"type": "object"
3882
},
3983
"mode": {
@@ -52,24 +96,195 @@
5296
"type": "object"
5397
},
5498
"targetRef": {
55-
"type": "object"
99+
"additionalProperties": false,
100+
"properties": {
101+
"apiVersion": {
102+
"type": "string"
103+
},
104+
"kind": {
105+
"type": "string"
106+
},
107+
"name": {
108+
"type": "string"
109+
}
110+
},
111+
"required": [
112+
"kind",
113+
"name"
114+
],
115+
"type": "object",
116+
"x-kubernetes-map-type": "atomic"
56117
},
57118
"updatePolicy": {
58119
"additionalProperties": false,
59120
"properties": {
121+
"evictionRequirements": {
122+
"items": {
123+
"additionalProperties": false,
124+
"properties": {
125+
"changeRequirement": {
126+
"enum": [
127+
"TargetHigherThanRequests",
128+
"TargetLowerThanRequests"
129+
],
130+
"type": "string"
131+
},
132+
"resources": {
133+
"items": {
134+
"type": "string"
135+
},
136+
"type": "array"
137+
}
138+
},
139+
"required": [
140+
"changeRequirement",
141+
"resources"
142+
],
143+
"type": "object"
144+
},
145+
"type": "array"
146+
},
60147
"minReplicas": {
148+
"format": "int32",
61149
"type": "integer"
62150
},
63151
"updateMode": {
152+
"enum": [
153+
"Off",
154+
"Initial",
155+
"Recreate",
156+
"Auto"
157+
],
64158
"type": "string"
65159
}
66160
},
67161
"type": "object"
68162
}
69163
},
70-
"required": [],
164+
"required": [
165+
"targetRef"
166+
],
167+
"type": "object"
168+
},
169+
"status": {
170+
"additionalProperties": false,
171+
"properties": {
172+
"conditions": {
173+
"items": {
174+
"additionalProperties": false,
175+
"properties": {
176+
"lastTransitionTime": {
177+
"format": "date-time",
178+
"type": "string"
179+
},
180+
"message": {
181+
"type": "string"
182+
},
183+
"reason": {
184+
"type": "string"
185+
},
186+
"status": {
187+
"type": "string"
188+
},
189+
"type": {
190+
"type": "string"
191+
}
192+
},
193+
"required": [
194+
"status",
195+
"type"
196+
],
197+
"type": "object"
198+
},
199+
"type": "array"
200+
},
201+
"recommendation": {
202+
"additionalProperties": false,
203+
"properties": {
204+
"containerRecommendations": {
205+
"items": {
206+
"additionalProperties": false,
207+
"properties": {
208+
"containerName": {
209+
"type": "string"
210+
},
211+
"lowerBound": {
212+
"additionalProperties": {
213+
"anyOf": [
214+
{
215+
"type": "integer"
216+
},
217+
{
218+
"type": "string"
219+
}
220+
],
221+
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
222+
"x-kubernetes-int-or-string": true
223+
},
224+
"type": "object"
225+
},
226+
"target": {
227+
"additionalProperties": {
228+
"anyOf": [
229+
{
230+
"type": "integer"
231+
},
232+
{
233+
"type": "string"
234+
}
235+
],
236+
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
237+
"x-kubernetes-int-or-string": true
238+
},
239+
"type": "object"
240+
},
241+
"uncappedTarget": {
242+
"additionalProperties": {
243+
"anyOf": [
244+
{
245+
"type": "integer"
246+
},
247+
{
248+
"type": "string"
249+
}
250+
],
251+
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
252+
"x-kubernetes-int-or-string": true
253+
},
254+
"type": "object"
255+
},
256+
"upperBound": {
257+
"additionalProperties": {
258+
"anyOf": [
259+
{
260+
"type": "integer"
261+
},
262+
{
263+
"type": "string"
264+
}
265+
],
266+
"pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
267+
"x-kubernetes-int-or-string": true
268+
},
269+
"type": "object"
270+
}
271+
},
272+
"required": [
273+
"target"
274+
],
275+
"type": "object"
276+
},
277+
"type": "array"
278+
}
279+
},
280+
"type": "object"
281+
}
282+
},
71283
"type": "object"
72284
}
73285
},
286+
"required": [
287+
"spec"
288+
],
74289
"type": "object"
75290
}

schema/autoscaling.k8s.io/verticalpodautoscaler_v1beta1.json

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,6 @@
88
"properties": {
99
"containerPolicies": {
1010
"items": {
11-
"additionalProperties": false,
12-
"properties": {
13-
"containerName": {
14-
"type": "string"
15-
},
16-
"controlledResources": {
17-
"items": {
18-
"enum": [
19-
"cpu",
20-
"memory"
21-
],
22-
"type": "string"
23-
},
24-
"type": "array"
25-
},
26-
"controlledValues": {
27-
"enum": [
28-
"RequestsAndLimits",
29-
"RequestsOnly"
30-
],
31-
"type": "string"
32-
},
33-
"maxAllowed": {
34-
"type": "object"
35-
},
36-
"minAllowed": {
37-
"type": "object"
38-
},
39-
"mode": {
40-
"enum": [
41-
"Auto",
42-
"Off"
43-
],
44-
"type": "string"
45-
}
46-
},
4711
"type": "object"
4812
},
4913
"type": "array"
@@ -57,9 +21,6 @@
5721
"updatePolicy": {
5822
"additionalProperties": false,
5923
"properties": {
60-
"minReplicas": {
61-
"type": "integer"
62-
},
6324
"updateMode": {
6425
"type": "string"
6526
}

schema/autoscaling.k8s.io/verticalpodautoscaler_v1beta2.json

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -8,42 +8,6 @@
88
"properties": {
99
"containerPolicies": {
1010
"items": {
11-
"additionalProperties": false,
12-
"properties": {
13-
"containerName": {
14-
"type": "string"
15-
},
16-
"controlledResources": {
17-
"items": {
18-
"enum": [
19-
"cpu",
20-
"memory"
21-
],
22-
"type": "string"
23-
},
24-
"type": "array"
25-
},
26-
"controlledValues": {
27-
"enum": [
28-
"RequestsAndLimits",
29-
"RequestsOnly"
30-
],
31-
"type": "string"
32-
},
33-
"maxAllowed": {
34-
"type": "object"
35-
},
36-
"minAllowed": {
37-
"type": "object"
38-
},
39-
"mode": {
40-
"enum": [
41-
"Auto",
42-
"Off"
43-
],
44-
"type": "string"
45-
}
46-
},
4711
"type": "object"
4812
},
4913
"type": "array"
@@ -57,9 +21,6 @@
5721
"updatePolicy": {
5822
"additionalProperties": false,
5923
"properties": {
60-
"minReplicas": {
61-
"type": "integer"
62-
},
6324
"updateMode": {
6425
"type": "string"
6526
}

0 commit comments

Comments
 (0)