Update generated autoscaling files

This commit updates the generated autoscaling files to be up-to-date
with the HPA status condition changes.
This commit is contained in:
Solly Ross
2017-05-26 18:50:24 -04:00
parent 53dccdbb43
commit c8fdeb022f
35 changed files with 4716 additions and 745 deletions

View File

@@ -52649,6 +52649,35 @@
}
]
},
"io.k8s.kubernetes.pkg.apis.autoscaling.v2alpha1.HorizontalPodAutoscalerCondition": {
"description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.",
"required": [
"type",
"status"
],
"properties": {
"lastTransitionTime": {
"description": "lastTransitionTime is the last time the condition transitioned from one status to another",
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
},
"message": {
"description": "message is a human-readable explanation containing details about the transition",
"type": "string"
},
"reason": {
"description": "reason is the reason for the condition's last transition.",
"type": "string"
},
"status": {
"description": "status is the status of the condition (True, False, Unknown)",
"type": "string"
},
"type": {
"description": "type describes the current condition",
"type": "string"
}
}
},
"io.k8s.kubernetes.pkg.apis.autoscaling.v2alpha1.HorizontalPodAutoscalerList": {
"description": "HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.",
"required": [
@@ -52718,9 +52747,17 @@
"required": [
"currentReplicas",
"desiredReplicas",
"currentMetrics"
"currentMetrics",
"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",
"items": {
"$ref": "#/definitions/io.k8s.kubernetes.pkg.apis.autoscaling.v2alpha1.HorizontalPodAutoscalerCondition"
}
},
"currentMetrics": {
"description": "currentMetrics is the last read state of the metrics used by this autoscaler.",
"type": "array",

View File

@@ -1512,7 +1512,8 @@
"required": [
"currentReplicas",
"desiredReplicas",
"currentMetrics"
"currentMetrics",
"conditions"
],
"properties": {
"observedGeneration": {
@@ -1540,6 +1541,13 @@
"$ref": "v2alpha1.MetricStatus"
},
"description": "currentMetrics is the last read state of the metrics used by this autoscaler."
},
"conditions": {
"type": "array",
"items": {
"$ref": "v2alpha1.HorizontalPodAutoscalerCondition"
},
"description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met."
}
}
},
@@ -1632,6 +1640,36 @@
}
}
},
"v2alpha1.HorizontalPodAutoscalerCondition": {
"id": "v2alpha1.HorizontalPodAutoscalerCondition",
"description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.",
"required": [
"type",
"status"
],
"properties": {
"type": {
"type": "string",
"description": "type describes the current condition"
},
"status": {
"type": "string",
"description": "status is the status of the condition (True, False, Unknown)"
},
"lastTransitionTime": {
"type": "string",
"description": "lastTransitionTime is the last time the condition transitioned from one status to another"
},
"reason": {
"type": "string",
"description": "reason is the reason for the condition's last transition."
},
"message": {
"type": "string",
"description": "message is a human-readable explanation containing details about the transition"
}
}
},
"v1.WatchEvent": {
"id": "v1.WatchEvent",
"required": [