UNPKG

@jkcfg/kubernetes

Version:
35 lines 1.31 kB
{ "$schema": "http://json-schema.org/schema#", "required": [ "currentReplicas", "desiredReplicas" ], "type": "object", "description": "current status of a horizontal pod autoscaler", "properties": { "observedGeneration": { "type": "integer", "description": "most recent generation observed by this autoscaler.", "format": "int64" }, "currentReplicas": { "type": "integer", "description": "current number of replicas of pods managed by this autoscaler.", "format": "int32" }, "lastScaleTime": { "description": "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" }, "desiredReplicas": { "type": "integer", "description": "desired number of replicas of pods managed by this autoscaler.", "format": "int32" }, "currentCPUUtilizationPercentage": { "type": "integer", "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", "format": "int32" } } }