You can manually scale your AKS cluster by setting a static number of nodes for the cluster. The scaling of your cluster can be done either via the Azure portal or via the command line.
To scale your cluster from Azure Portal, follow these steps:
Step 1
Open the Azure portal and go to your cluster. Once there, go to Node pools and click on the number below Node count, as shown in the screenshot below:
Step 2
This will open a pop-up that will give the option to scale your cluster. For our example, we will scale up our cluster to one node, as shown in the screenshot below:
Step 3
Hit the Apply button at the bottom of the screen to save these settings. This will cause Azure to remove a node from your cluster. This process will take about 2 to 3 minutes to complete. You can follow the progress by clicking on the notification icon at the top of the Azure portal as follows:
Once this scale-up operation has completed, we will relaunch our guestbook application on this cluster:
- kubectl create -f guestbook-all-in-one.yaml
Now we have scaled-up the cluster manually using the Azure portal.