How to Stop Azure AKS Cluster and Reduce Cost

Azure AKS can be expensive, but there are ways to stop an Azure AKS cluster and reduce your costs.

In this blog post, we will go over some tips on saving money with Azure. We will also show you how to stop an Azure AKS cluster without losing your data.

Azure AKS is a powerful tool, but it can be expensive. If you are not using Azure AKS to its fullest potential, you may want to consider stopping an Azure AKS cluster and reducing your costs. There are a few ways to do this:

Stop Cluster

Use the Azure portal to stop your Azure AKS cluster. This will immediately stop all charges associated with the cluster. From the Azure portal, open your AKS cluster and click on Stop.

You can also use Azure CLI to stop a cluster.

az aks stop --name akscluster01 --resource-group aks

Scale Cluster Nodes to Zero

Another option is to scale down the number of Nodes in your node pool to zero or if you have three nodes, reduce the count to one.

Open your AKS cluster from the Azure portal and click on Node pools to scale down your node count.

Select your node pool and click on Scale node pool.

To scale down the nodes count using Azure CLI, use the following command.

az aks nodepool scale --resource-group aks --name nodepool1 --cluster-name akscluster01  --node-count 0

Each of these methods has its benefits and drawbacks, so be sure to choose the best one for you.

For more AKS, Azure and Azure CLI posts, visit:

, ,