支援的平台
Cloud Service Mesh 支援各種基礎架構 (GKE/Kubernetes、Compute Engine) 和環境 (地端部署、其他雲端)。本頁說明在所有這些選項中,使用 Cloud Service Mesh 的 API 和選項。
透過 Google Cloud
Google Cloud 提供兩種 API,請根據您打算使用的基礎架構選擇。
如果工作負載只在 GKE 上執行,請使用 Istio API。
使用機群 API 在機群中的叢集上安裝 Cloud Service Mesh。
選擇要使用的 CA,MeshCA 或 CAS。機群中的叢集都會使用相同的 CA,在叢集上執行的工作負載之間建立信任關係。
系統會自動啟用 Service Mesh 使用者介面。
GKE 的代管控制層
為這些叢集佈建的控制層,取決於您是將叢集新增至現有機群,還是佈建新機群。
新機群會使用全域代管控制層。這個控制層會跨整個 Google Cloud 網路進行資源調度,並提升可靠性和穩定性。
如果將叢集新增至現有機群,新叢集會使用與現有叢集相同的受管理控制層實作項目。
非受管理 Cloud Service Mesh
您也可以選擇使用未受管理的叢集內控制層。Google 強烈建議使用代管 Cloud Service Mesh,讓 Google 更新及維護網格基礎架構。只有在代管 Cloud Service Mesh 不支援您的用途時,才應使用這個選項。使用者必須定期發布及修補,才能確保系統維持最新狀態。
VM、GKE 和/或無 Proxy 的 gRPC
如果工作負載是 VM 和 GKE 的組合,或使用無 Proxy 的 gRPC,則應使用 Service Routing API。您可以使用這些 API 定義網格,並設定該網格中服務之間的轉送。
關閉 Google Cloud
Cloud Service Mesh 支援各種環境中的 GKE 和附加叢集。在本例中,Cloud Service Mesh 是 Google Cloud 中 GKE Enterprise 的一部分。在這些環境中,Cloud Service Mesh 會使用 asmcli 安裝在叢集內。叢集會安裝 Istio API,讓使用者為 Kubernetes 工作負載設定服務網格。
Cloud Service Mesh 支援下列環境:
- 適用於 VMware 的 Google Distributed Cloud (僅限軟體)
- Bare Metal 適用的 Google Distributed Cloud (僅限軟體)
下列產品現已淘汰,並處於維護模式。
- GKE on AWS 將於 2027 年 3 月 17 日停止運作。
- GKE on Azure 將於 2027 年 3 月 17 日終止服務。
- AWS 上的 EKS Kubernetes 叢集將於 2027 年 3 月 17 日停止支援 Cloud Service Mesh。
- 我們將於 2027 年 3 月 17 日停止支援 Azure 上的 AKS Kubernetes 叢集使用 Cloud Service Mesh。
1.30.x
叢內 Cloud Service Mesh 1.30.x 僅支援下列環境。其他環境則不支援。
| 平台 | 版本 |
|---|---|
| GKE on Google Cloud |
建議您在 Google Cloud 中,透過發布管道註冊 GKE 叢集。註冊時請使用「一般」發布管道,因為其他管道可能採用不支援的 GKE 版本。Cloud Service Mesh 1.30 支援下列 GKE 版本:1.32 至 1.35。 如要進一步瞭解各發布管道包含的 GKE 版本,請參閱下列內容: GKE 叢集必須為標準叢集。叢集內控制層不支援 GKE Autopilot 叢集。如要使用 GKE Autopilot,請務必選擇「代管 Cloud Service Mesh」。 |
| 適用於 VMware 1.34-1.36 的 Google Distributed Cloud (僅限軟體) | Kubernetes 1.34 至 1.36 版 |
| 適用於裸機的 Google Distributed Cloud (僅限軟體) 1.34-1.36 | Kubernetes 版本 1.34-1.36 |
| GKE on AWS (已淘汰) | Kubernetes 版本 1.33-1.35 |
| GKE on Azure (已淘汰) | Kubernetes 版本 1.33 至 1.35 |
| GKE 附加叢集 (已淘汰) | Kubernetes 1.33-1.35 版的 Amazon EKS,以及 Kubernetes 1.34-1.35 版的 Microsoft AKS |
1.29.x
叢集內 Cloud Service Mesh 1.29.x 僅支援下列環境。其他環境皆不支援。
1.28.x
叢內 Cloud Service Mesh 1.28.x 版僅支援下列環境。其他環境皆不支援。
如要查看受管理 Cloud Service Mesh 支援的環境清單,請參閱「受管理 Cloud Service Mesh 環境」。