How Do You Scale Out the Nodes of an AKS Cluster?

Problem scenario
You are using AKS (Azure Kubernetes Service). You have a cluster that you want to have more nodes. (Please do not confuse nodes with pods; see this posting if you are not sure about the difference.) What should you do?

Solution
You need to know the name of the cluster and the resource group it is in. Draft a command like this:

az aks scale --name foocluster --node-count 5 --resource-group barrg

-Replace "5" with the number of nodes you want to scale up.
-Replace "foocluster" with the name of the cluster
-Replace "barrg" with the name of the resource group

Run the command you drafted above.

Leave a comment

Your email address will not be published. Required fields are marked *