Package org.cdk8s.plus24.k8s
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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
HorizontalPodAutoscalerBehaviorV2.Builder
A builder forHorizontalPodAutoscalerBehaviorV2
static class
HorizontalPodAutoscalerBehaviorV2.Jsii$Proxy
An implementation forHorizontalPodAutoscalerBehaviorV2
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static HorizontalPodAutoscalerBehaviorV2.Builder
builder()
default HpaScalingRulesV2
getScaleDown()
scaleDown is scaling policy for scaling Down.default HpaScalingRulesV2
getScaleUp()
scaleUp is scaling policy for scaling Up.
-
-
-
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.
-
builder
@Stability(Stable) static HorizontalPodAutoscalerBehaviorV2.Builder builder()
-
-