Unable to delete full AKS ARC
Elvi Veruari
0
Reputation points
Hello,
I have an AKS Arc cluster deployed on Azure Stack HCI (version 23H2) using the Jumpstart hcibox.
I am unable to delete the cluster. The resource is stuck in:
- provisioningState: Deleting
- status: Offline
- currentState: Failed
Attempts to delete the cluster via:
-
az aksarc delete
-
az rest
with forceDelete=true (API version 2024-07-15-preview) -
az connectedk8s delete
- Azure Portal
...all result in: InvalidResourceOperation.
The ConnectedCluster wrapper remains in Azure, even though the following are true:
- All associated VMs (control plane and nodepool) have already been deleted from Hyper-V / Failover Cluster Manager
- No deny assignments
- No locks on the resource
- No remaining finalizers in the resource JSON
I followed Microsoft’s documented guidance:
- https://learn.microsoft.com/en-us/azure/aks/aksarc/delete-cluster-pdb?tabs=aks-on-azure-local
- https://learn.microsoft.com/en-us/azure/aks/aksarc/deleted-cluster-visible
I now have two affected clusters:
- One where I deleted the VMs before trying to delete the Arc resource — stuck in Deleting
- Another where the VMs were still present but deleting from the portal also left it in Deleting
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.
2,385 questions
Sign in to answer