共用方式為


AgentPoolProfile interface

建立期間所指定的代理程式集區屬性配置檔

屬性

enableAutoScaling

是否要啟用自動縮放器。 預設值為 false

maxCount

自動調整的節點數目上限

maxPods

可以在節點上執行的 Pod 數目上限。

minCount

自動調整的節點數目下限

nodeLabels

要保存於代理程式集區中所有節點的節點標籤。

nodeTaints

在節點集區建立和調整期間新增至新節點的 Taint。 例如,key=value:NoSchedule。

osSKU

指定代理程式集區所使用的 OS SKU。 如果 OSType 為 Linux,則預設值為 CBLMariner。 當OSType為 Windows 時,預設值為 Windows2019。

osType

Linux、Windows) (的特定 KubernetesVersion 映射 OS 類型

屬性詳細資料

enableAutoScaling

是否要啟用自動縮放器。 預設值為 false

enableAutoScaling?: boolean

屬性值

boolean

maxCount

自動調整的節點數目上限

maxCount?: number

屬性值

number

maxPods

可以在節點上執行的 Pod 數目上限。

maxPods?: number

屬性值

number

minCount

自動調整的節點數目下限

minCount?: number

屬性值

number

nodeLabels

要保存於代理程式集區中所有節點的節點標籤。

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

屬性值

{[propertyName: string]: string}

nodeTaints

在節點集區建立和調整期間新增至新節點的 Taint。 例如,key=value:NoSchedule。

nodeTaints?: string[]

屬性值

string[]

osSKU

指定代理程式集區所使用的 OS SKU。 如果 OSType 為 Linux,則預設值為 CBLMariner。 當OSType為 Windows 時,預設值為 Windows2019。

osSKU?: string

屬性值

string

osType

Linux、Windows) (的特定 KubernetesVersion 映射 OS 類型

osType?: string

屬性值

string