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})
The main constructor.
const
HorizontalPodAutoscalerBehavior.fromJson(Map<String, dynamic> json)
Creates a HorizontalPodAutoscalerBehavior from JSON data.

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

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<HorizontalPodAutoscalerBehavior>
Creates a list of HorizontalPodAutoscalerBehavior from JSON data.