HorizontalPodAutoscalerBehaviorArgs

data class HorizontalPodAutoscalerBehaviorArgs(val scaleDown: Output<HPAScalingRulesArgs>? = null, val scaleUp: Output<HPAScalingRulesArgs>? = null) : ConvertibleToJava<HorizontalPodAutoscalerBehaviorArgs>

HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).

Constructors

Link copied to clipboard
constructor(scaleDown: Output<HPAScalingRulesArgs>? = null, scaleUp: Output<HPAScalingRulesArgs>? = null)

Properties

Link copied to clipboard
val scaleDown: Output<HPAScalingRulesArgs>? = null

scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).

Link copied to clipboard
val scaleUp: Output<HPAScalingRulesArgs>? = null

scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:

Functions

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