Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: AKS on Windows Server
If the resource needs of your applications change in AKS on Windows Server, 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: