Scale the node count in an Azure Kubernetes Service cluster

Applies to: AKS on Azure Stack HCI 22H2, AKS on Windows Server

If the resource needs of your applications change in AKS enabled by Azure Arc, you can manually scale a Kubernetes cluster to run a different number of control plane nodes and worker nodes. You must scale the control plane nodes and worker nodes separately.

Scale control plane nodes

Use the Set-AksHciCluster command to scale the control plane nodes. The following example scales the control plane nodes in a cluster named mycluster to a node count of 3:

Set-AksHciCluster -name mycluster -controlPlaneNodeCount 3

Scale worker nodes in a node pool

Use the Set-AksHciNodePool command to scale the node pool. The following example scales a node pool called linuxnodepool in a cluster named mycluster to a node count of 3:

Set-AksHciNodePool -clustername mycluster -name linuxnodepool -count 3

Next steps

In this article, you learned how to manually scale a Kubernetes cluster to increase or decrease the number of control plane nodes and worker nodes. Next, you can: