Unable to create AKS - QuotaExceeded error

Jacob 21 Reputation points
2021-08-05T12:54:22.98+00:00

I'm currently on a free/trail account trying to learn and deploy using AKS and following the below guide.

Guide : https://learn.microsoft.com/en-us/azure/aks/kubernetes-walkthrough

When I try to execute this command below command I get error in CLI

az aks create --resource-group myResourceGroup --name myAKSCluster --node-count 1 --enable-addons monitoring --generate-ssh-keys

Error : Invalid base64-encoded string: number of data characters (17) cannot be 1 more than a multiple of 4

So when I try to create a kubernetes service from portal I get error saying "Quota Exceeded"

{"code":"InvalidTemplateDeployment","message":"The template deployment 'microsoft.aks-20210805175243' is not valid according to the validation procedure. The tracking id is '41cecfc5-717f-451f-9a9d-0cce56590a08'. See inner errors for details.","details":[{"code":"QuotaExceeded","message":"Provisioning of resource(s) for container service myAKSCluster in resource group aks-demo failed. Message: {\n \"code\": \"QuotaExceeded\",\n \"message\": \"Provisioning of resource(s) for container service myAKSCluster in resource group aks-demo 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: 6, (Minimum) New Limit Required: 6. Submit a request for Quota increase at https://aka.ms/ProdportalCRP/?#create/Microsoft.Support/Parameters/%7B%22subId%22:%22dc4b6345-ca2e-4409-ba09-7678ef13541c%22,%22pesId%22:%2206bfd9d3-516b-d5c6-5802-169c800dec89%22,%22supportTopicId%22:%22e12e3d1d-7fa0-af33-c6d0-3c50df9658a3%22%7D by specifying parameters listed in the ‘Details’

I understand this is free account but I would like to explore.

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

Accepted answer
  1. KarishmaTiwari-MSFT 18,627 Reputation points Microsoft Employee
    2021-08-05T18:52:00.767+00:00

    Hi @Jacob

    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

    Let me know if you have further questions.

    ----------

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful