class Pyrite::Api::Autoscaling::V1::HorizontalPodAutoscalerSpec
Overview
specification of a horizontal pod autoscaler.
Defined in:
versions/v1.14/api/autoscaling/v1/horizontal_pod_autoscaler_spec.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
specification of a horizontal pod autoscaler.
-
.new(pull : JSON::PullParser)
specification of a horizontal pod autoscaler.
- .new(*, max_replicas : Int32, min_replicas : Int32? = nil, scale_target_ref : Api::Autoscaling::V1::CrossVersionObjectReference, target_cpu_utilization_percentage : Int32? = nil)
Instance Method Summary
- #max_replicas : Int32
- #max_replicas=(max_replicas : Int32)
- #min_replicas : Int32?
- #min_replicas=(min_replicas : Int32?)
- #scale_target_ref : Api::Autoscaling::V1::CrossVersionObjectReference
- #scale_target_ref=(scale_target_ref : Api::Autoscaling::V1::CrossVersionObjectReference)
- #target_cpu_utilization_percentage : Int32?
- #target_cpu_utilization_percentage=(target_cpu_utilization_percentage : Int32?)
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
specification of a horizontal pod autoscaler.
def self.new(*, max_replicas : Int32, min_replicas : Int32? = nil, scale_target_ref : Api::Autoscaling::V1::CrossVersionObjectReference, target_cpu_utilization_percentage : Int32? = nil)
#