class K8S::Api::Autoscaling::V2beta1::PodsMetricSource

Overview

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

Included Modules

Defined in:

versions/v1.23/api/autoscaling/v2beta1/pods_metric_source.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(*, metric_name : String, target_average_value : Int32 | String, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil) #

[View source]

Instance Method Detail

def metric_name : String #

[View source]
def metric_name=(metric_name : String) #

[View source]

[View source]
def selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?) #

[View source]
def target_average_value : Int32 | String #

[View source]
def target_average_value=(target_average_value : Int32 | String) #

[View source]