class K8S::Api::Autoscaling::V2beta2::HorizontalPodAutoscalerSpec
- K8S::Api::Autoscaling::V2beta2::HorizontalPodAutoscalerSpec
- Reference
- Object
Overview
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.18/api/autoscaling/v2beta2/horizontal_pod_autoscaler_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, max_replicas : Int32, scale_target_ref : Api::Autoscaling::V2beta2::CrossVersionObjectReference, behavior : Api::Autoscaling::V2beta2::HorizontalPodAutoscalerBehavior? = nil, metrics : Array? = nil, min_replicas : Int32? = nil)
Instance Method Summary
- #behavior : Api::Autoscaling::V2beta2::HorizontalPodAutoscalerBehavior?
- #behavior=(behavior : Api::Autoscaling::V2beta2::HorizontalPodAutoscalerBehavior?)
- #max_replicas : Int32
- #max_replicas=(max_replicas : Int32)
- #metrics : Array(Api::Autoscaling::V2beta2::MetricSpec)?
- #metrics=(metrics : Array(Api::Autoscaling::V2beta2::MetricSpec)?)
- #min_replicas : Int32?
- #min_replicas=(min_replicas : Int32?)
- #scale_target_ref : Api::Autoscaling::V2beta2::CrossVersionObjectReference
- #scale_target_ref=(scale_target_ref : Api::Autoscaling::V2beta2::CrossVersionObjectReference)
Constructor Detail
def self.new(*, max_replicas : Int32, scale_target_ref : Api::Autoscaling::V2beta2::CrossVersionObjectReference, behavior : Api::Autoscaling::V2beta2::HorizontalPodAutoscalerBehavior? = nil, metrics : Array? = nil, min_replicas : Int32? = nil)
#
Instance Method Detail
def behavior=(behavior : Api::Autoscaling::V2beta2::HorizontalPodAutoscalerBehavior?)
#
def scale_target_ref=(scale_target_ref : Api::Autoscaling::V2beta2::CrossVersionObjectReference)
#