HorizontalPodAutoscalerStatus

data class HorizontalPodAutoscalerStatus(val currentCPUUtilizationPercentage: Int? = null, val currentReplicas: Int, val desiredReplicas: Int, val lastScaleTime: String? = null, val observedGeneration: Int? = null)

current status of a horizontal pod autoscaler

Constructors

Link copied to clipboard
constructor(currentCPUUtilizationPercentage: Int? = null, currentReplicas: Int, desiredReplicas: Int, lastScaleTime: String? = null, observedGeneration: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

currentCPUUtilizationPercentage is the 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.

Link copied to clipboard

currentReplicas is the current number of replicas of pods managed by this autoscaler.

Link copied to clipboard

desiredReplicas is the desired number of replicas of pods managed by this autoscaler.

Link copied to clipboard
val lastScaleTime: String? = null

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.

Link copied to clipboard
val observedGeneration: Int? = null

observedGeneration is the most recent generation observed by this autoscaler.