error while creating aks kubernetes cluster using azure devops : Failure sending request: StatusCode=400 -- Original Error: Code="QuotaExceeded"

error while creating aks kubernetes cluster using azure devops : Failure sending request: StatusCode=400 -- Original Error: Code="QuotaExceeded"

正在尝试使用 Terraform 和 azurerm 提供程序创建 Kubernetes 集群。但是在这样做时我收到以下错误:

Error: creating Managed Kubernetes Cluster "k8stest_dev" (Resource Group "kubernetes_dev"): containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=400 --

Original Error: Code="QuotaExceeded" Message="Provisioning of resource(s) for container service k8stest_dev in resource group kubernetes_dev failed.

Message: Operation could not be completed as it results in exceeding approved standardDSv3Family Cores quota. Additional details - Deployment Model: Resource Manager, Location: centralus, Current Limit: 4, Current Usage: 0, Additional Required: 6, (Minimum) New Limit Required: 6.

Submit a request for Quota increase

问题是您正在使用 standardDSv3 系列,并且您在尝试部署的区域中有 4 个核心可用于该系列。

因此,对于解决方案,您需要提出配额请求 或 t尝试用更少的核心创建其他一些家庭虚拟机 .

参考:

You can refer this Microsoft Documentation to know about how to raise quota increase .

You can refer this Microsoft Documentation for the available VM Sizes.