class K8S::Api::Autoscaling::V2::HorizontalPodAutoscalerBehavior
- K8S::Api::Autoscaling::V2::HorizontalPodAutoscalerBehavior
- Reference
- Object
Overview
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.23/api/autoscaling/v2/horizontal_pod_autoscaler_behavior.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, scale_down : Api::Autoscaling::V2::HPAScalingRules? = nil, scale_up : Api::Autoscaling::V2::HPAScalingRules? = nil)
Instance Method Summary
- #scale_down : Api::Autoscaling::V2::HPAScalingRules?
- #scale_down=(scale_down : Api::Autoscaling::V2::HPAScalingRules?)
- #scale_up : Api::Autoscaling::V2::HPAScalingRules?
- #scale_up=(scale_up : Api::Autoscaling::V2::HPAScalingRules?)
Constructor Detail
def self.new(*, scale_down : Api::Autoscaling::V2::HPAScalingRules? = nil, scale_up : Api::Autoscaling::V2::HPAScalingRules? = nil)
#