尝试在westeurope位置使用本指南设置AKS群集,但在此步骤中仍然失败。
执行此命令时az aks create --location westeurope --resource-group <myResourceGroup> --name <myAKSCluster> --node-count 1 --generate-ssh-keys
我不断收到以下错误消息:
Operation failed with status: 'Bad Request'. Details: The VM size of Agent is not allowed in your subscription in location 'westeurope'. Agent VM size 'Standard_DS1_v2' is available in locations: australiaeast,australiasoutheast,brazilsouth,canadacentral,canadaeast,centralindia,centralus,centraluseuap,eastasia,eastus,eastus2euap,japaneast,japanwest,koreacentral,koreasouth,northcentralus,northeurope,southcentralus,southindia,uksouth,ukwest,westcentralus,westindia,westus,westus2.
即使我明确地将VM大小设置为不同类型的VM,我仍然会收到类似的错误。例如:
az aks create --location westeurope --resource-group <myResourceGroup> --name <myAKSCluster> --node-vm-size Standard_B1s --node-count 1 --generate-ssh-keys
结果:
Operation failed with status: 'Bad Request'. Details: The VM size of Agent is not allowed in your subscription in location 'westeurope'. Agent VM size 'Standard_B1s' is available in locations: australiaeast,australiasoutheast,brazilsouth,canadacentral,canadaeast,centralindia,centralus,centraluseuap,eastasia,eastus,eastus2euap,japaneast,japanwest,koreacentral,koreasouth,northcentralus,northeurope,southcentralus,southindia,uksouth,ukwest,westcentralus,westindia,westus,westus2.
看起来好像在westeurope中创建一个AKS集群是禁止的/根本不可能。有人在这个位置成功创建了一个集群吗?
答案 0 :(得分:0)
这是westeurope的常见问题,看起来像Azure AKS中的Bug。 VM可以通过&#34;虚拟机&#34;创建。但不是AKS。
以下是此主题的不同主题:https://github.com/Azure/AKS/issues/280