How to fix QuotaExceeded with azure kubernets?

Uday Kiran Reddy (ureddy) 86 Reputation points
2021-09-19T14:57:30.387+00:00

I have created few clusters for testing in aks.
And deleted them after that.
Including all the resources and the complete resource group also.

But, I am getting the quota exceeded message when I try to create a new cluster.

Why the quota is not restored even there are no resources in it.

The error I got.

{"code":"InvalidTemplateDeployment","message":"The template deployment 'microsoft.aks-20210917212420' is not valid according to the validation procedure. The tracking id is 'd19be9ad-e419-4418-b2d8-7958195318c3'. See inner errors for details.","details":[{"code":"QuotaExceeded","message":"Provisioning of resource(s) for container service test in resource group test failed. Message: {\n \"code\": \"QuotaExceeded\",\n \"message\": \"Provisioning of resource(s) for container service test in resource group test failed. Message: Operation could not be completed as it results in exceeding approved standardDSv2Family Cores quota. Additional details - Deployment Model: Resource Manager, Location: eastus2, Current Limit: 10, Current Usage: 8, Additional Required: 6, (Minimum) New Limit Required: 14. Submit a request for Quota increase at https://aka.ms/ProdportalCRP/#blade/Microsoft_Azure_Capacity/CapacityExperienceBlade/Parameters/%7B%22subscriptionId%22:%2201f7b0dd-dba4-4502-94ce-7c8cde09b954%22,%22command%22:%22openQuotaApprovalBlade%22,%22quotas%22:\[%7B%22location%22:%22eastus2%22,%22providerId%22:%22Microsoft.Compute%22,%22resourceName%22:%22standardDSv2Family%22,%22quotaRequest%22:%7B%22properties%22:%7B%22limit%22:14,%22unit%22:%22Count%22,%22name%22:%7B%22value%22:%22standardDSv2Family%22%7D%7D%7D%7D\]%7D by specifying parameters listed in the ‘Details’ section for deployment to succeed. Please read more about quota limits at https://learn.microsoft.com/en-us/azure/azure-supportability/per-vm-quota-requests. Details: \"\n }. Details: "}]}

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

1 answer

Sort by: Most helpful
  1. shiva patpi 13,046 Reputation points Microsoft Employee
    2021-09-19T16:07:32.74+00:00

    Hello @Uday Kiran Reddy (ureddy) ,
    In general when you create AKS cluster and delete the resource group , quotas will be restored immediately. I just did a quick test on my subscription by creating AKS cluster and deleting it immediately.
    So please validate from your end if there are any resources being used in EastUS2 for DSv2 Family still.

    From the error message , it clearly says that - 8 cores of dsv2 is still being used.
    Location: eastus2, Current Limit: 10, Current Usage: 8, Additional Required: 6, (Minimum) New Limit Required: 14.

    You can always validate your quotas https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/<subid>/quotas

    Regards,
    Shiva.