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

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

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,104 questions
No comments
{count} votes

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

    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.

    No comments

1 additional answer

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

    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

    No comments