尝试创建 gcloud 云 运行 服务,它说 "Cloud Run is not available in the regions allowed by your organization. "

Trying to create a gcloud cloud run service, it says "Cloud Run is not available in the regions allowed by your organization. "

我正在尝试创建一个简单的测试云 运行 服务,当我通过 UI 创建服务时,一旦我点击 'create service' 它说

  1. 云 运行(完全托管)"Cloud Run is not available in the regions allowed by your organization. "
  2. Anthos 的云 运行

为什么我无法创建云 运行 完全托管服务?

这是Cloud Run for Anthos

所有可用区域和资源的列表

Cloud Run (Fully Managed) 可用区域为(截至 2020-01-08):

  • asia-northeast1(东京)
  • europe-west1(比利时)
  • us-central1(爱荷华州)
  • us-east1(南卡罗来纳州)

在使用 Cloud 运行.

之前,您必须联系您的项目所在组织的负责人,以解除对至少一个受支持区域的限制。

可能,您必须启用云 运行。 在 Marketplace 页面中,使用 "Cloud Run".

进行搜索

错误消息与根本问题无关。我发现在新创建的项目中,您需要通过在控制台中访问它然后等待几分钟来激活计算。

这是由于云 运行 的问题。

在解决之前,您需要在https://console.cloud.google.com/marketplace/details/google-cloud-platform/cloud-run

手动启用云运行API