Class ExternalMetricSource
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
Inheritance
System.Object
ExternalMetricSource
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 ExternalMetricSource
Fields
View SourceMetricName
metricName is the name of the metric in question.
Declaration
public readonly string MetricName
Field Value
| Type | Description |
|---|---|
| System.String |
MetricSelector
metricSelector is used to identify a specific time series within a given metric.
Declaration
public readonly LabelSelector MetricSelector
Field Value
| Type | Description |
|---|---|
| LabelSelector |
TargetAverageValue
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
Declaration
public readonly string TargetAverageValue
Field Value
| Type | Description |
|---|---|
| System.String |
TargetValue
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
Declaration
public readonly string TargetValue
Field Value
| Type | Description |
|---|---|
| System.String |