AKS agentpool scaling is stuck for over 4 hours. Node count remains 9 instead of 10, with no error shown.

Muzammil - Unicorn lab 0 Reputation points
2026-07-16T11:52:41.4666667+00:00

AKS agentpool scaling has been stuck for more than 4 hours. The target node count is 10, but the current node count remains 9. The cluster operation status shows Succeeded, while the agentpool provisioning state remains Scaling. Activity Log shows no errors. VMSS capacity is still 9, and the Scale node pool option is disabled. Please help identify and resolve the stuck scaling operation.

 

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.


1 answer

Sort by: Most helpful
  1. Christos Panagiotidis 3,546 Reputation points
    2026-07-17T09:29:59.4166667+00:00

    The important detail is VMSS ProvisioningState = Failed. The AKS node-pool “Scaling” state is a symptom: the tenth VM was not created, even though the cluster-level operation reports Succeeded.

    First, inspect the Activity Log in the AKS node resource group, not only the cluster resource group. You can get its name from the cluster’s nodeResourceGroup property. Scope the log to the VM scale set and open the failed write operation’s JSON details; that usually exposes capacity, networking, image, policy, or allocation errors hidden by the generic FailedToCreateOrUpdateVMSS message.

    Because the node-pool operation has remained nonterminal for hours, abort the last node-pool operation using Azure CLI 2.47 or later:

    az aks nodepool operation-abort -g <resource-group> --cluster-name <cluster> -n <nodepool>

    Wait until the node pool becomes Canceled, then retry the AKS node-pool scale operation. Aborting releases the lock but does not roll back resources, so verify the pool and VMSS state before retrying. Do not manually change the VMSS capacity; AKS owns that scale set.

    Also, 30/33 vCPUs only leaves three vCPUs of family quota, so confirm the selected node size fits that remaining quota and that the SKU has regional/zonal capacity. If the retry again returns FailedToCreateOrUpdateVMSS, open an AKS support case with the cluster resource ID, node-pool name, last operation ID, and VMSS deployment correlation ID; that requires backend investigation.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.