Partager via


ProvisionedClusterPropertiesAutoScalerProfile Class

Definition

Parameters to be applied to the cluster-autoscaler when auto scaling is enabled for the provisioned cluster.

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

Constructors

ProvisionedClusterPropertiesAutoScalerProfile()

Initializes a new instance of ProvisionedClusterPropertiesAutoScalerProfile.

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'.

ScanInterval

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<ProvisionedClusterPropertiesAutoScalerProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ProvisionedClusterPropertiesAutoScalerProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ProvisionedClusterPropertiesAutoScalerProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ProvisionedClusterPropertiesAutoScalerProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ProvisionedClusterPropertiesAutoScalerProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to