Google Cloud 管理区域概览

Google Cloud 管理区域和位置

使用 GKE on Azure 创建的集群位于 Azure 区域。创建集群时,您可以为集群指定 Azure 区域以及管理该集群的 Google Cloud 区域。

每个 Google Cloud 区域都可以管理附近的一组特定 Azure 区域中的集群。例如,Google Cloud 区域 us-east4(位于俄勒冈州)管理以下 Azure 区域中的集群:canadacentral(位于安大略省)、centralus(位于爱荷华州)、eastus(位于弗吉尼亚州)、eastus2(位于弗吉尼亚州)、southcentralus(位于德克萨斯州)。从附近的 Google Cloud 区域管理您的集群可提高可用性,并缩短集群管理操作的延迟时间。

GKE on Azure 会在集群的资源名称中包含集群的 Google Cloud 区域。例如,在区域 us-west1 的项目 my-project 中创建一个名为 my-cluster 的集群,其资源名称为 projects/my-project/locations/us-west1/azureClusters/my-cluster。相比之下,Azure 区域是集群资源的一部分。您可以在 API 调用的 azure_region 字段中指定它。

数据存放区域

为了管理您的集群,GKE Multi-Cloud API 必须将集群状态的相关信息存储在您在创建集群时指定的 Google Cloud 区域。此数据不包含特定于工作负载的数据(存储在集群区域中),但包含 Azure 资源 ID 和公钥基础架构 (PKI) 数据等信息。

如果您的应用需要将其数据存储在特定地理区域中,请在创建集群时指定符合您要求的 Azure 区域及其关联的 Google Cloud 管理区域。

Google Cloud 区域和附近的 Azure 区域

Google Cloud 区域 Azure 区域
asia-east2 eastasia
asia-northeast2 japaneast
asia-south1 centralindia
asia-southeast1 australiaeast
japaneast
southeastasia
australia-southeast1 australiaeast
europe-north1 northeurope
norwayeast
europe-west1 francecentral
germanywestcentral
northeurope
uksouth
westeurope
europe-west2 uksouth
europe-west3 germanywestcentral
europe-west4 westeurope
europe-west6 switzerlandnorth
europe-west9 francecentral
northamerica-northeast1 canadacentral
southamerica-east1 brazilsouth
us-east4 canadacentral
centralus
eastus
eastus2
southcentralus
us-west1 westus2

您可以通过运行以下 gcloud 命令来获取 Google Cloud 区域支持的当前 Azure 区域的最新列表:

gcloud container azure get-server-config --location GOOGLE_CLOUD_REGION

GOOGLE_CLOUD_REGION 替换为您要查询的 Google Cloud 区域的名称。