Unable to create aks cluster

75451861 0 Reputation points
2024-05-01T13:54:51.31+00:00

Hi there,

I am a newbie to azure and just trying out the azure platform while trying to create a kubernetes on the aks I could not pass the validation phase always ending with the following error code.

{"code":"InvalidTemplateDeployment","details":[{"code":"QuotaExceeded","message":"Preflight validation check for resource(s) for container service mycluster in resource group DefaultResourceGroup-EUS failed. Message: Preflight validation check for resource(s) for container service mycluster in resource group MC_DefaultResourceGroup-EUS_mycluster_eastus failed. Message: Operation could not be completed as it results in exceeding approved Total Regional Cores quota. Additional details - Deployment Model: Resource Manager, Location: eastus, Current Limit: 4, Current Usage: 0, Additional Required: 8, (Minimum) New Limit Required: 8. Submit a request for Quota increase at https://aka.ms/ProdportalCRP/#blade/Microsoft_Azure_Capacity/UsageAndQuota.ReactView/Parameters/%7B%22subscriptionId%22:%22bdcc70ad-05e6-4293-af61-252dd354286e%22,%22command%22:%22openQuotaApprovalBlade%22,%22quotas%22:[%7B%22location%22:%22eastus%22,%22providerId%22:%22Microsoft.Compute%22,%22resourceName%22:%22cores%22,%22quotaRequest%22:%7B%22properties%22:%7B%22limit%22:8,%22unit%22:%22Count%22,%22name%22:%7B%22value%22:%22cores%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://docs.microsoft.com/en-us/azure/azure-supportability/regional-quota-requests. Details: . Details: "}],"message":"The template deployment 'microsoft.aks-1714571098681' is not valid according to the validation procedure. The tracking id is '229b4d51-cb25-4b74-a424-55a2e723a25d'. See inner errors for 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,886 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Azar 19,645 Reputation points
    2024-05-01T13:57:38.42+00:00

    Hi there 75451861

    Thanks for posting on QandA platform

    This error message indicates that you need to request support for quota increase for your subscription. Quotas are applied per resource group, subscriptions, accounts, and other scopes. For example, your subscription may be configured to limit the number of cores for a region. If you attempt to deploy a virtual machine with more cores than the permitted amount, you receive an error stating the quota has been exceeded. For complete quota information, see Azure subscription and service limits, quotas, and constraints.

    To request a quota increase, go to the portal and file a support issue. In the support issue, request an increase in your quota for the region into which you want to deploy.

    The step by step instructions for creating a support issue are provided here: https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/error-resource-quota#solution

    Reference - https://learn.microsoft.com/en-us/answers/questions/502883/unable-to-create-aks-quotaexceeded-error

    If this helps kindly accept the answer thanks much.

    0 comments No comments