Text file
src/k8s.io/api/testdata/v1.29.0/autoscaling.v2beta2.HorizontalPodAutoscaler.json
1{
2 "kind": "HorizontalPodAutoscaler",
3 "apiVersion": "autoscaling/v2beta2",
4 "metadata": {
5 "name": "nameValue",
6 "generateName": "generateNameValue",
7 "namespace": "namespaceValue",
8 "selfLink": "selfLinkValue",
9 "uid": "uidValue",
10 "resourceVersion": "resourceVersionValue",
11 "generation": 7,
12 "creationTimestamp": "2008-01-01T01:01:01Z",
13 "deletionTimestamp": "2009-01-01T01:01:01Z",
14 "deletionGracePeriodSeconds": 10,
15 "labels": {
16 "labelsKey": "labelsValue"
17 },
18 "annotations": {
19 "annotationsKey": "annotationsValue"
20 },
21 "ownerReferences": [
22 {
23 "apiVersion": "apiVersionValue",
24 "kind": "kindValue",
25 "name": "nameValue",
26 "uid": "uidValue",
27 "controller": true,
28 "blockOwnerDeletion": true
29 }
30 ],
31 "finalizers": [
32 "finalizersValue"
33 ],
34 "managedFields": [
35 {
36 "manager": "managerValue",
37 "operation": "operationValue",
38 "apiVersion": "apiVersionValue",
39 "time": "2004-01-01T01:01:01Z",
40 "fieldsType": "fieldsTypeValue",
41 "fieldsV1": {},
42 "subresource": "subresourceValue"
43 }
44 ]
45 },
46 "spec": {
47 "scaleTargetRef": {
48 "kind": "kindValue",
49 "name": "nameValue",
50 "apiVersion": "apiVersionValue"
51 },
52 "minReplicas": 2,
53 "maxReplicas": 3,
54 "metrics": [
55 {
56 "type": "typeValue",
57 "object": {
58 "describedObject": {
59 "kind": "kindValue",
60 "name": "nameValue",
61 "apiVersion": "apiVersionValue"
62 },
63 "target": {
64 "type": "typeValue",
65 "value": "0",
66 "averageValue": "0",
67 "averageUtilization": 4
68 },
69 "metric": {
70 "name": "nameValue",
71 "selector": {
72 "matchLabels": {
73 "matchLabelsKey": "matchLabelsValue"
74 },
75 "matchExpressions": [
76 {
77 "key": "keyValue",
78 "operator": "operatorValue",
79 "values": [
80 "valuesValue"
81 ]
82 }
83 ]
84 }
85 }
86 },
87 "pods": {
88 "metric": {
89 "name": "nameValue",
90 "selector": {
91 "matchLabels": {
92 "matchLabelsKey": "matchLabelsValue"
93 },
94 "matchExpressions": [
95 {
96 "key": "keyValue",
97 "operator": "operatorValue",
98 "values": [
99 "valuesValue"
100 ]
101 }
102 ]
103 }
104 },
105 "target": {
106 "type": "typeValue",
107 "value": "0",
108 "averageValue": "0",
109 "averageUtilization": 4
110 }
111 },
112 "resource": {
113 "name": "nameValue",
114 "target": {
115 "type": "typeValue",
116 "value": "0",
117 "averageValue": "0",
118 "averageUtilization": 4
119 }
120 },
121 "containerResource": {
122 "name": "nameValue",
123 "target": {
124 "type": "typeValue",
125 "value": "0",
126 "averageValue": "0",
127 "averageUtilization": 4
128 },
129 "container": "containerValue"
130 },
131 "external": {
132 "metric": {
133 "name": "nameValue",
134 "selector": {
135 "matchLabels": {
136 "matchLabelsKey": "matchLabelsValue"
137 },
138 "matchExpressions": [
139 {
140 "key": "keyValue",
141 "operator": "operatorValue",
142 "values": [
143 "valuesValue"
144 ]
145 }
146 ]
147 }
148 },
149 "target": {
150 "type": "typeValue",
151 "value": "0",
152 "averageValue": "0",
153 "averageUtilization": 4
154 }
155 }
156 }
157 ],
158 "behavior": {
159 "scaleUp": {
160 "stabilizationWindowSeconds": 3,
161 "selectPolicy": "selectPolicyValue",
162 "policies": [
163 {
164 "type": "typeValue",
165 "value": 2,
166 "periodSeconds": 3
167 }
168 ]
169 },
170 "scaleDown": {
171 "stabilizationWindowSeconds": 3,
172 "selectPolicy": "selectPolicyValue",
173 "policies": [
174 {
175 "type": "typeValue",
176 "value": 2,
177 "periodSeconds": 3
178 }
179 ]
180 }
181 }
182 },
183 "status": {
184 "observedGeneration": 1,
185 "lastScaleTime": "2002-01-01T01:01:01Z",
186 "currentReplicas": 3,
187 "desiredReplicas": 4,
188 "currentMetrics": [
189 {
190 "type": "typeValue",
191 "object": {
192 "metric": {
193 "name": "nameValue",
194 "selector": {
195 "matchLabels": {
196 "matchLabelsKey": "matchLabelsValue"
197 },
198 "matchExpressions": [
199 {
200 "key": "keyValue",
201 "operator": "operatorValue",
202 "values": [
203 "valuesValue"
204 ]
205 }
206 ]
207 }
208 },
209 "current": {
210 "value": "0",
211 "averageValue": "0",
212 "averageUtilization": 3
213 },
214 "describedObject": {
215 "kind": "kindValue",
216 "name": "nameValue",
217 "apiVersion": "apiVersionValue"
218 }
219 },
220 "pods": {
221 "metric": {
222 "name": "nameValue",
223 "selector": {
224 "matchLabels": {
225 "matchLabelsKey": "matchLabelsValue"
226 },
227 "matchExpressions": [
228 {
229 "key": "keyValue",
230 "operator": "operatorValue",
231 "values": [
232 "valuesValue"
233 ]
234 }
235 ]
236 }
237 },
238 "current": {
239 "value": "0",
240 "averageValue": "0",
241 "averageUtilization": 3
242 }
243 },
244 "resource": {
245 "name": "nameValue",
246 "current": {
247 "value": "0",
248 "averageValue": "0",
249 "averageUtilization": 3
250 }
251 },
252 "containerResource": {
253 "name": "nameValue",
254 "current": {
255 "value": "0",
256 "averageValue": "0",
257 "averageUtilization": 3
258 },
259 "container": "containerValue"
260 },
261 "external": {
262 "metric": {
263 "name": "nameValue",
264 "selector": {
265 "matchLabels": {
266 "matchLabelsKey": "matchLabelsValue"
267 },
268 "matchExpressions": [
269 {
270 "key": "keyValue",
271 "operator": "operatorValue",
272 "values": [
273 "valuesValue"
274 ]
275 }
276 ]
277 }
278 },
279 "current": {
280 "value": "0",
281 "averageValue": "0",
282 "averageUtilization": 3
283 }
284 }
285 }
286 ],
287 "conditions": [
288 {
289 "type": "typeValue",
290 "status": "statusValue",
291 "lastTransitionTime": "2003-01-01T01:01:01Z",
292 "reason": "reasonValue",
293 "message": "messageValue"
294 }
295 ]
296 }
297}
View as plain text