forked from instrumenta/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhorizontalpodautoscalerstatus-autoscaling-v2beta1.json
60 lines (60 loc) · 2.09 KB
/
horizontalpodautoscalerstatus-autoscaling-v2beta1.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
{
"description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.",
"required": [
"currentReplicas",
"desiredReplicas",
"conditions"
],
"properties": {
"conditions": {
"description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.",
"type": [
"array",
"null"
],
"items": {
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition"
}
},
"currentMetrics": {
"description": "currentMetrics is the last read state of the metrics used by this autoscaler.",
"type": [
"array",
"null"
],
"items": {
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.api.autoscaling.v2beta1.MetricStatus"
}
},
"currentReplicas": {
"description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.",
"type": [
"integer",
"null"
],
"format": "int32"
},
"desiredReplicas": {
"description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.",
"type": [
"integer",
"null"
],
"format": "int32"
},
"lastScaleTime": {
"description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.",
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
},
"observedGeneration": {
"description": "observedGeneration is the most recent generation observed by this autoscaler.",
"type": [
"integer",
"null"
],
"format": "int64"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}