Class HorizontalPodAutoscalerBehaviorPatchArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.kubernetes.autoscaling.v2.inputs.HorizontalPodAutoscalerBehaviorPatchArgs
-
public final class HorizontalPodAutoscalerBehaviorPatchArgs extends com.pulumi.resources.ResourceArgs
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 Class Description static class
HorizontalPodAutoscalerBehaviorPatchArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static HorizontalPodAutoscalerBehaviorPatchArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HorizontalPodAutoscalerBehaviorPatchArgs.Builder
builder()
static HorizontalPodAutoscalerBehaviorPatchArgs.Builder
builder(HorizontalPodAutoscalerBehaviorPatchArgs defaults)
java.util.Optional<com.pulumi.core.Output<HPAScalingRulesPatchArgs>>
scaleDown()
java.util.Optional<com.pulumi.core.Output<HPAScalingRulesPatchArgs>>
scaleUp()
-
-
-
Field Detail
-
Empty
public static final HorizontalPodAutoscalerBehaviorPatchArgs Empty
-
-
Method Detail
-
scaleDown
public java.util.Optional<com.pulumi.core.Output<HPAScalingRulesPatchArgs>> scaleDown()
- Returns:
- 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).
-
scaleUp
public java.util.Optional<com.pulumi.core.Output<HPAScalingRulesPatchArgs>> scaleUp()
- Returns:
- 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
public static HorizontalPodAutoscalerBehaviorPatchArgs.Builder builder()
-
builder
public static HorizontalPodAutoscalerBehaviorPatchArgs.Builder builder(HorizontalPodAutoscalerBehaviorPatchArgs defaults)
-
-