ManagedClusterVerticalPodAutoscaler Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ManagedClusterVerticalPodAutoscaler.
public ManagedClusterVerticalPodAutoscaler (bool isEnabled, Azure.ResourceManager.ContainerService.Models.ManagedClusterWorkloadAutoScalerControlledValue controlledValues, Azure.ResourceManager.ContainerService.Models.ManagedClusterVerticalPodAutoscalerUpdateMode updateMode);
new Azure.ResourceManager.ContainerService.Models.ManagedClusterVerticalPodAutoscaler : bool * Azure.ResourceManager.ContainerService.Models.ManagedClusterWorkloadAutoScalerControlledValue * Azure.ResourceManager.ContainerService.Models.ManagedClusterVerticalPodAutoscalerUpdateMode -> Azure.ResourceManager.ContainerService.Models.ManagedClusterVerticalPodAutoscaler
Public Sub New (isEnabled As Boolean, controlledValues As ManagedClusterWorkloadAutoScalerControlledValue, updateMode As ManagedClusterVerticalPodAutoscalerUpdateMode)
Parameters
- isEnabled
- Boolean
Whether to enable VPA. Default value is false.
- controlledValues
- ManagedClusterWorkloadAutoScalerControlledValue
Controls which resource value autoscaler will change. Default value is RequestsAndLimits.
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.