forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhorizontalpodautoscalerspec-autoscaling-v1.json
63 lines (63 loc) · 1.78 KB
/
horizontalpodautoscalerspec-autoscaling-v1.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"description": "specification of a horizontal pod autoscaler.",
"properties": {
"maxReplicas": {
"description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"minReplicas": {
"description": "lower limit for the number of pods that can be set by the autoscaler, default 1.",
"format": "int32",
"type": [
"integer",
"null"
]
},
"scaleTargetRef": {
"description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.",
"properties": {
"apiVersion": {
"description": "API version of the referent",
"type": [
"string",
"null"
]
},
"kind": {
"description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\"",
"type": "string"
},
"name": {
"description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"type": "string"
}
},
"required": [
"kind",
"name"
],
"type": [
"object",
"null"
]
},
"targetCPUUtilizationPercentage": {
"description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.",
"format": "int32",
"type": [
"integer",
"null"
]
}
},
"required": [
"scaleTargetRef",
"maxReplicas"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}