Interface HorizontalPodAutoscalerBehaviorV2

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    HorizontalPodAutoscalerBehaviorV2.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)",
               date="2023-05-25T02:26:40.797Z")
    @Stability(Stable)
    public interface HorizontalPodAutoscalerBehaviorV2
    extends software.amazon.jsii.JsiiSerializable
    HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
    • Method Detail

      • getScaleDown

        @Stability(Stable)
        @Nullable
        default HpaScalingRulesV2 getScaleDown()
        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).

      • getScaleUp

        @Stability(Stable)
        @Nullable
        default HpaScalingRulesV2 getScaleUp()
        scaleUp is scaling policy for scaling Up.

        If not set, the default value is the higher of:

        • increase no more than 4 pods per 60 seconds
        • double the number of pods per 60 seconds No stabilization is used.