HorizontalPodAutoscalerStatusArgs

data class HorizontalPodAutoscalerStatusArgs(val currentCPUUtilizationPercentage: Output<Int>? = null, val currentReplicas: Output<Int>, val desiredReplicas: Output<Int>, val lastScaleTime: Output<String>? = null, val observedGeneration: Output<Int>? = null) : ConvertibleToJava<HorizontalPodAutoscalerStatusArgs>

current status of a horizontal pod autoscaler

Constructors

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

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
val currentReplicas: Output<Int>

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

Link copied to clipboard
val desiredReplicas: Output<Int>

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

Link copied to clipboard
val lastScaleTime: Output<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: Output<Int>? = null

observedGeneration is the most recent generation observed by this autoscaler.

Functions

Link copied to clipboard
open override fun toJava(): HorizontalPodAutoscalerStatusArgs