Class ExternalMetricSourceArgs
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.
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.Inputs.Autoscaling.V2Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class ExternalMetricSourceArgs : ResourceArgs
Properties
View SourceMetricName
metricName is the name of the metric in question.
Declaration
public Input<string> MetricName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MetricSelector
metricSelector is used to identify a specific time series within a given metric.
Declaration
public Input<LabelSelectorArgs> MetricSelector { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LabelSelectorArgs> |
TargetAverageValue
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
Declaration
public Input<string> TargetAverageValue { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TargetValue
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
Declaration
public Input<string> TargetValue { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |