Show / Hide Table of Contents

Class ObjectMetricSourceArgs

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

Inheritance
System.Object
InputArgs
ResourceArgs
ObjectMetricSourceArgs
Inherited Members
ResourceArgs.Empty
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 ObjectMetricSourceArgs : ResourceArgs

Properties

View Source

AverageValue

averageValue is the target value of the average of the metric across all relevant pods (as a quantity)

Declaration
public Input<string> AverageValue { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MetricName

metricName is the name of the metric in question.

Declaration
public Input<string> MetricName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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 Input<LabelSelectorArgs> Selector { get; set; }
Property Value
Type Description
Input<LabelSelectorArgs>
View Source

Target

target is the described Kubernetes object.

Declaration
public Input<CrossVersionObjectReferenceArgs> Target { get; set; }
Property Value
Type Description
Input<CrossVersionObjectReferenceArgs>
View Source

TargetValue

targetValue is the target value of the metric (as a quantity).

Declaration
public Input<string> TargetValue { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.