@jkcfg/kubernetes
Version:
jk Kubernetes library
35 lines • 1.28 kB
JSON
{
"$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/unversioned.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"
}
}
}