Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AksNodePoolConfig

Struct
📦 Aspire.Hosting.Azure.Kubernetes v17.0.0

Configuration for an AKS node pool.

type AksNodePoolConfig struct {
Name *string `json:"Name"`
Mode *AksNodePoolMode `json:"Mode"`
VmSize string `json:"VmSize"`
MinCount float64 `json:"MinCount"`
MaxCount float64 `json:"MaxCount"`
OsSku *string `json:"OsSku"`
}

Fields

Name*stringoptional
Gets the name of the node pool.
Mode*AksNodePoolModeoptional
Gets the mode of the node pool.
VmSizestring
Gets or sets the VM size for nodes in the pool.
MinCountfloat64
Gets or sets the minimum node count for autoscaling. System pools require at least 1; user pools can scale to 0.
MaxCountfloat64
Gets or sets the maximum node count for autoscaling. Must be at least the minimum node count.
OsSku*string
Gets or sets the Linux OS SKU, such as AzureLinux or Ubuntu. A null value leaves the SKU unspecified so AKS chooses its default.