Show / Hide Table of Contents

Class HPAScalingRulesArgs

HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.

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

Properties

View Source

Policies

policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid

Declaration
public InputList<HPAScalingPolicyArgs> Policies { get; set; }
Property Value
Type Description
InputList<HPAScalingPolicyArgs>
View Source

SelectPolicy

selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.

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

StabilizationWindowSeconds

StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).

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