Show / Hide Table of Contents

Class HorizontalPodAutoscalerSpec

specification of a horizontal pod autoscaler.

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

Fields

View Source

MaxReplicas

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

Declaration
public readonly int MaxReplicas
Field Value
Type Description
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 readonly int MinReplicas
Field Value
Type Description
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 readonly CrossVersionObjectReference ScaleTargetRef
Field Value
Type Description
CrossVersionObjectReference
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 readonly int TargetCPUUtilizationPercentage
Field Value
Type Description
System.Int32
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.