Show / Hide Table of Contents

Class HorizontalPodAutoscalerSpecArgs

specification of a horizontal pod autoscaler.

Inheritance
System.Object
InputArgs
ResourceArgs
HorizontalPodAutoscalerSpecArgs
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.V1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class HorizontalPodAutoscalerSpecArgs : ResourceArgs

Properties

View Source

MaxReplicas

upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.

Declaration
public Input<int> MaxReplicas { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

MinReplicas

minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.

Declaration
public Input<int> MinReplicas { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

ScaleTargetRef

reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.

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

TargetCPUUtilizationPercentage

target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.

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