UNPKG

@jkcfg/kubernetes

Version:
52 lines 1.94 kB
{ "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "required": [ "currentReplicas", "desiredReplicas", "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", "null" ], "items": { "$ref": "_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": "_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", "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", "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": "_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", "format": "int64" } }, "$schema": "http://json-schema.org/schema#", "type": "object" }