Package org.cdk8s.plus25.k8s
Interface HorizontalPodAutoscalerBehaviorV2Beta2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HorizontalPodAutoscalerBehaviorV2Beta2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.546Z") @Stability(Stable) public interface HorizontalPodAutoscalerBehaviorV2Beta2 extends software.amazon.jsii.JsiiSerializable
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHorizontalPodAutoscalerBehaviorV2Beta2.BuilderA builder forHorizontalPodAutoscalerBehaviorV2Beta2static classHorizontalPodAutoscalerBehaviorV2Beta2.Jsii$ProxyAn implementation forHorizontalPodAutoscalerBehaviorV2Beta2
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static HorizontalPodAutoscalerBehaviorV2Beta2.Builderbuilder()default HpaScalingRulesV2Beta2getScaleDown()scaleDown is scaling policy for scaling Down.default HpaScalingRulesV2Beta2getScaleUp()scaleUp is scaling policy for scaling Up.
-
-
-
Method Detail
-
getScaleDown
@Stability(Stable) @Nullable default HpaScalingRulesV2Beta2 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 HpaScalingRulesV2Beta2 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.
-
builder
@Stability(Stable) static HorizontalPodAutoscalerBehaviorV2Beta2.Builder builder()
-
-