Skip to content
Docs Try Aspire
Docs Try

addNodePool

Method
📦 Aspire.Hosting.Azure.Kubernetes v13.4.0-preview.1.26281.18
interface AzureKubernetesEnvironmentResource {
// ... omitted for brevity
addNodePool(
name: string,
vmSize?: string,
minCount?: number,
maxCount?: number): AksNodePoolResource;
}

Signature

method addNodePool builder
Adds a node pool to the AKS cluster.
addNodePool(
name: string,
vmSize?: string,
minCount?: number,
maxCount?: number): AksNodePoolResource
name string
vmSize string optional = Standard_D2s_v5
minCount number optional = 1
maxCount number optional = 3
AksNodePoolResource

Applies to

This method applies to the following types: