class K8S::Api::Autoscaling::V2beta1::HorizontalPodAutoscalerSpec

Overview

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

Included Modules

Defined in:

versions/v1.21/api/autoscaling/v2beta1/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::V2beta1::CrossVersionObjectReference, metrics : Array? = nil, min_replicas : Int32? = nil) #

[View source]

Instance Method Detail

def max_replicas : Int32 #

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

[View source]

[View source]
def metrics=(metrics : Array(Api::Autoscaling::V2beta1::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::V2beta1::CrossVersionObjectReference) #

[View source]