AKS
AKS copied to clipboard
Unable to delete failed cluster
I tried deleting an AKS cluster but it fails - tried deleting the resources and resources groups in the portal but that also fails with a timeout.
C:\>az aks delete -g aks1139 -n aks1139cluster --verbose
Are you sure you want to perform this operation? (y/n): y
Deployment failed. Correlation ID: a05e6747-daf4-4d56-94f3-e58ea48eff99. Code="ResourceGroupDeletionTimeout" Message="Deletion of resource group 'MC_aks1139_aks1139cluster_westeurope' did not finish within the allowed time as resources with identifiers '' could not be deleted. The provisioning state of the resource group will be rolled back. The tracking Id is 'a94b66f8-2698-4a43-bdde-1e388c9e4ae9'. Please check audit logs for more details." Details=[]
C:\>az aks list
[
{
"aadProfile": null,
"addonProfiles": null,
"agentPoolProfiles": [
{
"count": 2,
"maxPods": 110,
"name": "nodepool1",
"osDiskSizeGb": 100,
"osType": "Linux",
"storageProfile": "ManagedDisks",
"vmSize": "Standard_B2s"
}
],
"dnsPrefix": "aks1139clu-aks1139-e72878",
"enableRbac": true,
"fqdn": "aks1139clu-aks1139-e72878-069add31.hcp.westeurope.azmk8s.io",
"id": "/subscriptions/e7287828-6a59-4618-a0a5-3392f6d1ed97/resourcegroups/aks1139/providers/Microsoft.ContainerService/managedClusters/aks1139cluster",
"kubernetesVersion": "1.12.7",
"linuxProfile": {
"adminUsername": "azureuser",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa AAAAB....eqbl0AeAWhZkPcJ4YUvwMloo/Tvfj"
}
]
}
},
"location": "westeurope",
"name": "aks1139cluster",
"networkProfile": {
"dnsServiceIp": "10.0.0.10",
"dockerBridgeCidr": "172.17.0.1/16",
"networkPlugin": "kubenet",
"networkPolicy": null,
"podCidr": "10.244.0.0/16",
"serviceCidr": "10.0.0.0/16"
},
"nodeResourceGroup": "MC_aks1139_aks1139cluster_westeurope",
"provisioningState": "Failed",
"resourceGroup": "aks1139",
"servicePrincipalProfile": {
"clientId": "bac55348-7bcf-4149-b4eb-80b448922be6"
},
"type": "Microsoft.ContainerService/ManagedClusters"
}
]
The error you're seeing is an ARM timeout, please open a support ticket - this is specific to ARM / your subscription and needs to be root-caused by the ARM team
Already tried to raise a ticket - but I'm unable to raise a support ticket since this is a Visual Studio Professional subscription ... what do you suggest