Kubernetes::MetricTarget
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
MetricTarget defines the target value, average value, or average utilization of a specific metric
Constructors
Instance methods
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
type represents whether the metric type is Utilization, Value, or AverageValue
Macros
Helper macro for defining fields with automatic camelCase conversion