class K8S::Api::Autoscaling::V2beta2::HorizontalPodAutoscalerSpec

Overview

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

Included Modules

Defined in:

versions/v1.18/api/autoscaling/v2beta2/horizontal_pod_autoscaler_spec.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]

Instance Method Detail


[View source]

[View source]
def max_replicas : Int32 #

[View source]
def max_replicas=(max_replicas : Int32) #

[View source]

[View source]
def metrics=(metrics : Array(Api::Autoscaling::V2beta2::MetricSpec)?) #

[View source]
def min_replicas : Int32? #

[View source]
def min_replicas=(min_replicas : Int32?) #

[View source]

[View source]
def scale_target_ref=(scale_target_ref : Api::Autoscaling::V2beta2::CrossVersionObjectReference) #

[View source]