HorizontalPodAutoscalerBehavior class
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
Constructors
- HorizontalPodAutoscalerBehavior({HPAScalingRules? scaleDown, HPAScalingRules? scaleUp})
-
Default constructor.
const
-
HorizontalPodAutoscalerBehavior.fromJson(Map<
String, dynamic> json) -
Creates a HorizontalPodAutoscalerBehavior from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleDown → HPAScalingRules?
-
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).
final
- scaleUp → HPAScalingRules?
-
scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a HorizontalPodAutoscalerBehavior instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited