class Pyrite::Api::Autoscaling::V2beta2::HorizontalPodAutoscalerSpec

Overview

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

Defined in:

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

Constructors

Instance Method Summary

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) #

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.


def self.new(pull : JSON::PullParser) #

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.


def self.new(*, max_replicas : Int32, metrics : Array? = nil, min_replicas : Int32? = nil, scale_target_ref : Api::Autoscaling::V2beta2::CrossVersionObjectReference) #

Instance Method Detail

def max_replicas : Int32 #

def max_replicas=(max_replicas : Int32) #


def metrics=(metrics : Array(Api::Autoscaling::V2beta2::MetricSpec)?) #

def min_replicas : Int32? #

def min_replicas=(min_replicas : Int32?) #


def scale_target_ref=(scale_target_ref : Api::Autoscaling::V2beta2::CrossVersionObjectReference) #