New-AksHciNodePool
Create a new node pool to an existing cluster.
New-AksHciNodePool -clusterName <String>
-name <String>
[-count <int>]
[-osType <String>]
[-vmSize <VmSize>]
[-taints <Taint>]
[-maxPodCount <int>]
[-disableAutoScaler]
Create a new node pool to an existing cluster.
New-AksHciNodePool -clusterName mycluster -name nodepool1
New-AksHciNodePool -clusterName mycluster -name linuxnodepool -osType linux
New-AksHciNodePool -clusterName mycluster -name windowsnodepool -osType Windows -osSku Windows2022
New-AksHciNodePool -clusterName mycluster -name nodepool1 -vmSize Standard_A2_v2
New-AksHciNodePool -clusterName mycluster -name nodepool1 -taints sku=gpu:NoSchedule
New-AksHciNodePool -clusterName mycluster -name nodepool1 -maxPodCount 100
This parameter will be ignored if the horizontal autoscaler is not enabled on the cluster.
New-AksHciNodePool -clusterName mycluster -name nodepool1 -disableAutoscaler
The name of the existing Kubernetes cluster.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of your node pool. The node pool name must not be the same as another existing node pool.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The node count of your node pool. Defaults to 1.
Type: System.Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The OS type of the nodes in your node pool. Defaults to Linux.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Linux
Accept pipeline input: False
Accept wildcard characters: False
The VM size of the nodes in your node pool. Defaults to Standard_K8S3_v1. To get the available VM sizes, use the Get-AksHciVmSize command.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Standard_K8S3_v1
Accept pipeline input: False
Accept wildcard characters: False
The node taints for the node pool. You can't change the node taints after the node pool is created.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The maximum number of pods deployable to a node. This number needs to be greater than 50.
Type: System.Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 110
Accept pipeline input: False
Accept wildcard characters: False
Disable the horizontal autoscaler for this node pool. Only valid if the horizontal autoscaler is enabled for the cluster.
Type: Parameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False