HorizontalPodAutoscalerStatusArgs

data class HorizontalPodAutoscalerStatusArgs(val conditions: Output<List<HorizontalPodAutoscalerConditionArgs>>? = null, val currentMetrics: Output<List<MetricStatusArgs>>? = null, val currentReplicas: Output<Int>? = null, val desiredReplicas: Output<Int>, val lastScaleTime: Output<String>? = null, val observedGeneration: Output<Int>? = null) : ConvertibleToJava<HorizontalPodAutoscalerStatusArgs>

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

Constructors

Link copied to clipboard
constructor(conditions: Output<List<HorizontalPodAutoscalerConditionArgs>>? = null, currentMetrics: Output<List<MetricStatusArgs>>? = null, currentReplicas: Output<Int>? = null, desiredReplicas: Output<Int>, lastScaleTime: Output<String>? = null, observedGeneration: Output<Int>? = null)

Properties

Link copied to clipboard

conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.

Link copied to clipboard
val currentMetrics: Output<List<MetricStatusArgs>>? = null

currentMetrics is the last read state of the metrics used by this autoscaler.

Link copied to clipboard
val currentReplicas: Output<Int>? = null

currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.

Link copied to clipboard
val desiredReplicas: Output<Int>

desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the 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