Skip to content

autoscaling.v1.horizontalPodAutoscalerStatus

"current status of a horizontal pod autoscaler"

Index

Fields

fn withCurrentCPUUtilizationPercentage

withCurrentCPUUtilizationPercentage(currentCPUUtilizationPercentage)

"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."

fn withCurrentReplicas

withCurrentReplicas(currentReplicas)

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

fn withDesiredReplicas

withDesiredReplicas(desiredReplicas)

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

fn withLastScaleTime

withLastScaleTime(lastScaleTime)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn withObservedGeneration

withObservedGeneration(observedGeneration)

"observedGeneration is the most recent generation observed by this autoscaler."