class K8S::Api::Autoscaling::V2beta1::HorizontalPodAutoscalerSpec
- K8S::Api::Autoscaling::V2beta1::HorizontalPodAutoscalerSpec
- Reference
- Object
Overview
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.13/api/autoscaling/v2beta1/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::V2beta1::CrossVersionObjectReference, metrics : Array? = nil, min_replicas : Int32? = nil)
Instance Method Summary
- #max_replicas : Int32
- #max_replicas=(max_replicas : Int32)
- #metrics : Array(Api::Autoscaling::V2beta1::MetricSpec)?
- #metrics=(metrics : Array(Api::Autoscaling::V2beta1::MetricSpec)?)
- #min_replicas : Int32?
- #min_replicas=(min_replicas : Int32?)
- #scale_target_ref : Api::Autoscaling::V2beta1::CrossVersionObjectReference
- #scale_target_ref=(scale_target_ref : Api::Autoscaling::V2beta1::CrossVersionObjectReference)
Constructor Detail
def self.new(*, max_replicas : Int32, scale_target_ref : Api::Autoscaling::V2beta1::CrossVersionObjectReference, metrics : Array? = nil, min_replicas : Int32? = nil)
#
Instance Method Detail
def scale_target_ref=(scale_target_ref : Api::Autoscaling::V2beta1::CrossVersionObjectReference)
#