azure - 无法创建 Azure 服务容器

标签 azure azure-container-service

我尝试在英国西部地区创建 Azure 服务容器。我毫无问题地完成了所有步骤,但是过了一会儿我点击“创建”后,我遇到了:

LocationNotAvailableForResourceTypeThe provided location 'ukwest' is not available for resource type 'Microsoft.ContainerService/containerServices'. List of available regions for the resource type is 'japaneast,centralus,eastus2,japanwest,eastasia,southcentralus,australiaeast,australiasoutheast,brazilsouth,southeastasia,westus,northcentralus,westeurope,northeurope,eastus'.

好吧,我意识到这是我的错误,并继续在西欧创建容器。

现在,当我尝试创建容器时,尽管将位置设置为西欧,但我遇到了相同的错误。

我已经尝试过:

  1. 很难刷新并再次经历整个过程。
  2. 清除我的网络缓存并再次执行整个过程。
  3. 打开隐身窗口并完成整个过程 再次。

我还确保 Azure 容器服务和 Azure 容器注册表已在我的订阅 ID 上注册。最初,我尝试部署的资源组设置为英国西部,但是在西欧删除并重新创建后,我仍然无法创建服务容器。

更新:

我在这个案例上获得了 Microsoft Azure 支持。似乎存在我的订阅 ID 无法在西欧区域创建服务容器的问题。这已提交给技术团队。当我收到解决方案时,我会将其发布在这里。

最佳答案

西欧地区支持Azure容器服务,您可以在此链接中查看服务的支持情况:

您显然没有展示如何创建集群,我们需要有关您所执行的步骤的更多信息以及一些屏幕截图。但正如您所知,它实际上有效,我刚刚在 Az cli 2.0 上使用以下命令将 kubernetes 集群部署到“westeurope”区域:

RG=stackoverflowtest
LOCATION=westeurope
az group create --name=$RG --location=$LOCATION
az acs create --orchestrator-type=kubernetes --resource-group $RG --name=$CLUSTER_NAME --dns-prefix=$DNS_PREFIX

这是 5-10 分钟后得到的结果,如下所示:

creating service principal.........done
waiting for AAD role to propagate.done
{
  "id": "/subscriptions/xxxxxxxx-xxx-xxxx-xxx-xxxxxxxxxxxd/resourceGroups/stackoverflowtest/providers/Microsoft.Resources/deployments/azureclixx.xx",
  "name": "azureclixx.xx",
  "properties": {
    "correlationId": "xxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxx",
    "debugSetting": null,
    "dependencies": [],
    "mode": "Incremental",
    "outputs": null,
    "parameters": {
      "clientSecret": {
        "type": "SecureString"
      }
    },
    "parametersLink": null,
    "providers": [
      {
        "id": null,
        "namespace": "Microsoft.ContainerService",
        "registrationState": null,
        "resourceTypes": [
          {
            "aliases": null,
            "apiVersions": null,
            "locations": [
              "westeurope"
            ],
            "properties": null,
            "resourceType": "containerServices"
          }
        ]
      }
    ],
    "provisioningState": "Succeeded",
    "template": null,
    "templateLink": null,
    "timestamp": "2017-03-14T21:00:39.066034+00:00"
  },
  "resourceGroup": "stackoverflowtest"
}

而且,这是有关如何部署 kubernetes ACS 的官方文档:

关于azure - 无法创建 Azure 服务容器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42702154/

相关文章:

c# - Azure 搜索中的包含/数组(预览版)

azure - 从 Web 部署或 SDK 部署 Azure 云服务

wcf - 设置 SSL 以与 Azure 上的 WCF 配合使用的步骤是什么?

azure - 如何通过Master登录DC-OS Slave

azure - AKS : Logging into worker nodes and get Permission denied (publickey)

kubernetes - 将特定版本的Kubernetes部署到Azure容器服务

azure - 无法通过 C# 中的 Rest API 在 Azure 存储上获取/发布 Blob

python - 是否可以使用Python读取Azure Blob存储容器中的所有文件,并在读取后删除文件?

azure - 触发Azure容器实例组每天启动

azure-container-service - 我在哪里可以找到 aks made 集群上的节点公共(public) ip?