共用方式為


ManagedClusterAutoScalerProfile Class

Definition

Parameters to be applied to the cluster-autoscaler when enabled.

public class ManagedClusterAutoScalerProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoScalerProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.ManagedClusterAutoScalerProfile>
public class ManagedClusterAutoScalerProfile
type ManagedClusterAutoScalerProfile = class
    interface IJsonModel<ManagedClusterAutoScalerProfile>
    interface IPersistableModel<ManagedClusterAutoScalerProfile>
type ManagedClusterAutoScalerProfile = class
Public Class ManagedClusterAutoScalerProfile
Implements IJsonModel(Of ManagedClusterAutoScalerProfile), IPersistableModel(Of ManagedClusterAutoScalerProfile)
Public Class ManagedClusterAutoScalerProfile
Inheritance
ManagedClusterAutoScalerProfile
Implements

Constructors

ManagedClusterAutoScalerProfile()

Initializes a new instance of ManagedClusterAutoScalerProfile.

Properties

BalanceSimilarNodeGroups

Valid values are 'true' and 'false'.

Expander

If not specified, the default is 'random'. See expanders for more information.

MaxEmptyBulkDelete

The default is 10.

MaxGracefulTerminationSec

The default is 600.

MaxNodeProvisionTime

The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

MaxTotalUnreadyPercentage

The default is 45. The maximum is 100 and the minimum is 0.

NewPodScaleUpDelay

For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).

OkTotalUnreadyCount

This must be an integer. The default is 3.

ScaleDownDelayAfterAdd

The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

ScaleDownDelayAfterDelete

The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

ScaleDownDelayAfterFailure

The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

ScaleDownUnneededTime

The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

ScaleDownUnreadyTime

The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.

ScaleDownUtilizationThreshold

The default is '0.5'.

ScanIntervalInSeconds

The default is '10'. Values must be an integer number of seconds.

SkipNodesWithLocalStorage

The default is true.

SkipNodesWithSystemPods

The default is true.

Explicit Interface Implementations

IJsonModel<ManagedClusterAutoScalerProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ManagedClusterAutoScalerProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedClusterAutoScalerProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedClusterAutoScalerProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ManagedClusterAutoScalerProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to