共用方式為


ManagedClusterVerticalPodAutoscaler Class

Definition

The ManagedClusterVerticalPodAutoscaler.

public class ManagedClusterVerticalPodAutoscaler
type ManagedClusterVerticalPodAutoscaler = class
Public Class ManagedClusterVerticalPodAutoscaler
Inheritance
ManagedClusterVerticalPodAutoscaler

Constructors

ManagedClusterVerticalPodAutoscaler(Boolean, ManagedClusterWorkloadAutoScalerControlledValue, ManagedClusterVerticalPodAutoscalerUpdateMode)

Initializes a new instance of ManagedClusterVerticalPodAutoscaler.

Properties

ControlledValues

Controls which resource value autoscaler will change. Default value is RequestsAndLimits.

IsEnabled

Whether to enable VPA. Default value is false.

UpdateMode

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.

Applies to