class K8S::Api::Autoscaling::V2beta2::HorizontalPodAutoscalerBehavior
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.18/api/autoscaling/v2beta2/horizontal_pod_autoscaler_behavior.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, scale_down : Api::Autoscaling::V2beta2::HPAScalingRules? = nil, scale_up : Api::Autoscaling::V2beta2::HPAScalingRules? = nil)
Instance Method Summary
- #scale_down : Api::Autoscaling::V2beta2::HPAScalingRules?
- #scale_down=(scale_down : Api::Autoscaling::V2beta2::HPAScalingRules?)
- #scale_up : Api::Autoscaling::V2beta2::HPAScalingRules?
- #scale_up=(scale_up : Api::Autoscaling::V2beta2::HPAScalingRules?)
Constructor Detail
def self.new(*, scale_down : Api::Autoscaling::V2beta2::HPAScalingRules? = nil, scale_up : Api::Autoscaling::V2beta2::HPAScalingRules? = nil)
#