Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithSystemNodePool

Method
📦 Aspire.Hosting.Azure.Kubernetes v17.0.0
func (AzureKubernetesEnvironmentResource) WithSystemNodePool(configure func(obj *AksNodePoolConfig)) AzureKubernetesEnvironmentResource

Signature

methodWithSystemNodePoolbuilder
Replaces the system node pool using a configuration callback.
WithSystemNodePool(configure func(obj *AksNodePoolConfig)) AzureKubernetesEnvironmentResource
configurefunc(obj *AksNodePoolConfig)callbackA callback to configure VM size, autoscaling, and OS SKU.
AzureKubernetesEnvironmentResource

The AKS environment resource builder for chaining.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: