AgentPoolProfile interface

Profile for agent pool properties specified during creation

Properties

enableAutoScaling

Whether to enable auto-scaler. Default value is false

maxCount

The maximum number of nodes for auto-scaling

maxPods

The maximum number of pods that can run on a node.

minCount

The minimum number of nodes for auto-scaling

nodeLabels

The node labels to be persisted across all nodes in agent pool.

nodeTaints

Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.

osSKU

Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.

osType

The particular KubernetesVersion Image OS Type (Linux, Windows)

Property Details

enableAutoScaling

Whether to enable auto-scaler. Default value is false

enableAutoScaling?: boolean

Property Value

boolean

maxCount

The maximum number of nodes for auto-scaling

maxCount?: number

Property Value

number

maxPods

The maximum number of pods that can run on a node.

maxPods?: number

Property Value

number

minCount

The minimum number of nodes for auto-scaling

minCount?: number

Property Value

number

nodeLabels

The node labels to be persisted across all nodes in agent pool.

nodeLabels?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

nodeTaints

Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.

nodeTaints?: string[]

Property Value

string[]

osSKU

Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.

osSKU?: string

Property Value

string

osType

The particular KubernetesVersion Image OS Type (Linux, Windows)

osType?: string

Property Value

string