class K8S::Api::Autoscaling::V1::HorizontalPodAutoscalerSpec

Overview

specification of a horizontal pod autoscaler.

Included Modules

Defined in:

versions/v1.22/api/autoscaling/v1/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::V1::CrossVersionObjectReference, min_replicas : Int32? = nil, target_cpu_utilization_percentage : Int32? = nil) #

[View source]

Instance Method Detail

def max_replicas : Int32 #

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

[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::V1::CrossVersionObjectReference) #

[View source]
def target_cpu_utilization_percentage : Int32? #

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

[View source]