addNodePool

Method
📦 Aspire.Hosting.Azure.Kubernetes v17.0.0
interface AzureKubernetesEnvironmentResource {
// ... omitted for brevity
addNodePool(
name: string,
configure: callback): AksNodePoolResource;
}

Signature

methodaddNodePoolbuilder
Adds a node pool to the AKS cluster using a configuration callback.
addNodePool(name: string, configure: (obj: AksNodePoolConfig) => Promise<void>): AksNodePoolResource
namestringThe name of the node pool.
configure(obj: AksNodePoolConfig) => Promise<void>A callback to configure VM size, autoscaling, and OS SKU.
AksNodePoolResource

Applies to

This method applies to the following types: