My Kubernetes Cluster and node pool is stuck in (stopping) stopped state - provisioning: stopping

Andre Marret 21 Reputation points
2022-06-28T06:46:19.18+00:00

after start and stop of the cluster the node pool is stuck in (stopping) stopped state - provisioning: stopping state

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,866 questions
0 comments No comments
{count} votes

Accepted answer
  1. srbhatta-MSFT 8,546 Reputation points Microsoft Employee
    2022-06-29T06:56:22.04+00:00

    Hello @Andre Marret ,
    Thanks for posting your query on Microsoft QnA.
    May I know for how long has the AKS cluster been stuck in Stopping state?

    Did you try to stop and immediately trying to start the cluster? Repeatedly starting/stopping your cluster may result in errors. Once your cluster is stopped, you should wait 15-30 minutes before starting it up again.
    Could you please check the current provisioning state of the AKS cluster from Azure Portal ?
    Can you also please check the VMSS instances (If the cluster is in stopped state, you should not see any running instances under VMSS).

    If you are still seeing the issue , please try to run the below command:

    az resource update -n <aks cluster name> -g <rgname> --namespace Microsoft.ContainerService --resource-type ManagedClusters  
    

    If the issue still persists, kindly reach back to me and tag me. Thank you.

    ------------------

    Please accept as answer and upvote if the above information is helpful.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andre Marret 21 Reputation points
    2022-06-29T23:31:20.027+00:00

    Hi,

    yes we fixed with the command mentioned above

    az resource update -n <aks cluster name> -g <rgname> --namespace Microsoft.ContainerService --resource-type ManagedClusters

    Thanks a lot for coming back to me

    0 comments No comments