Class PodsMetricSource
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.
Inheritance
System.Object
PodsMetricSource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Kubernetes.Types.Outputs.Autoscaling.V2Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public sealed class PodsMetricSource
Fields
View SourceMetricName
metricName is the name of the metric in question
Declaration
public readonly string MetricName
Field Value
| Type | Description |
|---|---|
| System.String |
Selector
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
Declaration
public readonly LabelSelector Selector
Field Value
| Type | Description |
|---|---|
| LabelSelector |
TargetAverageValue
targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
Declaration
public readonly string TargetAverageValue
Field Value
| Type | Description |
|---|---|
| System.String |