AKS cannot be deleted from the Azure UI due to an error.

Jijo Varghese-FT 46 Reputation points

When attempting to delete the AKS using the Azure portal UI, the error message "This Cluster is in failed state" appears, and a notification is received when trying to stop AKS.
"failed to terminate the 'akspoc' Kubernetes service. Error: Since deletion was issued on "akspoc," "Stopping" operation on "akspoc" could not be completed. Once deletion has begun, the only operation that is permitted is deletion". I had to wait two days to know how the deletion was going, but there was no progress.

How then can I delete an Azure Kubernetes service the most efficient manner possible?


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,937 questions
Azure ISV (Independent Software Vendors) and Startups
Azure ISV (Independent Software Vendors) and Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.ISV (Independent Software Vendors) and Startups: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
90 questions
0 comments No comments
{count} votes

Accepted answer
  1. Nadav Ben Haim 501 Reputation points Microsoft Employee

    Please try to reconcile the cluster, then delete it.

    Try this via Azure CLI -

    az extension add -n aks-preview
    az aks update -n clustername -g clusterresourcegroup
    az aks delete -n clustername -g resourcegroup --debug

    if you still cant delete please paste your debug log.

1 additional answer

Sort by: Most helpful
  1. Andriy Bilous 11,011 Reputation points MVP
    1 person found this answer helpful.
    0 comments No comments