ManagedClusterVerticalPodAutoscalerUpdateMode Struct

Definition

Each update mode level is a superset of the lower levels. Off<Initial<Recreate<=Auto. For example: if UpdateMode is Initial, it means VPA sets the recommended resources in the VerticalPodAutoscaler Custom Resource (from UpdateMode Off) and also assigns resources on pod creation (from Initial). The default value is Off.

public readonly struct ManagedClusterVerticalPodAutoscalerUpdateMode : IEquatable<Azure.ResourceManager.ContainerService.Models.ManagedClusterVerticalPodAutoscalerUpdateMode>
type ManagedClusterVerticalPodAutoscalerUpdateMode = struct
Public Structure ManagedClusterVerticalPodAutoscalerUpdateMode
Implements IEquatable(Of ManagedClusterVerticalPodAutoscalerUpdateMode)
Inheritance
ManagedClusterVerticalPodAutoscalerUpdateMode
Implements

Constructors

ManagedClusterVerticalPodAutoscalerUpdateMode(String)

Initializes a new instance of ManagedClusterVerticalPodAutoscalerUpdateMode.

Properties

Auto

Autoscaler chooses the update mode. Autoscaler currently does the same as Recreate. In the future, it may take advantage of restart-free mechanisms once they are available.

Initial

Autoscaler only assigns resources on pod creation and doesn't change them during the lifetime of the pod.

Off

Autoscaler never changes pod resources but provides recommendations.

Recreate

Autoscaler assigns resources on pod creation and updates pods that need further scaling during their lifetime by deleting and recreating.

Methods

Equals(ManagedClusterVerticalPodAutoscalerUpdateMode)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ManagedClusterVerticalPodAutoscalerUpdateMode, ManagedClusterVerticalPodAutoscalerUpdateMode)

Determines if two ManagedClusterVerticalPodAutoscalerUpdateMode values are the same.

Implicit(String to ManagedClusterVerticalPodAutoscalerUpdateMode)

Converts a string to a ManagedClusterVerticalPodAutoscalerUpdateMode.

Inequality(ManagedClusterVerticalPodAutoscalerUpdateMode, ManagedClusterVerticalPodAutoscalerUpdateMode)

Determines if two ManagedClusterVerticalPodAutoscalerUpdateMode values are not the same.

Applies to