Google Cloud 管理區域總覽
Google Cloud 管理區域和地點
使用 Azure 上的 GKE 建立的叢集位於 Azure 區域。建立叢集時,您需要指定叢集的 Azure 區域,以及管理叢集的 Google Cloud 區域。
每個 Google Cloud 區域都可以管理特定一組鄰近 Azure 區域中的叢集。
舉例來說,位於奧勒岡州的 Google Cloud 區域 us-east4
會管理安大略省的 Azure 區域 canadacentral
、愛荷華州的 centralus
、維吉尼亞州的 eastus
、維吉尼亞州的 eastus2
和德州的 southcentralus
叢集。
從附近的 Google Cloud 區域管理叢集可提高可用性,並縮短叢集管理作業的延遲時間。
Azure 上的 GKE 會在叢集的資源名稱中加入叢集的 Google Cloud 區域。舉例來說,在專案 my-project
中於 us-west1
區域建立的名為 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 |
如要擷取目前支援的 Azure 地區最新清單,請執行下列 gcloud 指令:Google Cloud
gcloud container azure get-server-config --location GOOGLE_CLOUD_REGION
將 GOOGLE_CLOUD_REGION
替換為您要查詢的 Google Cloud 區域名稱。