支援的平台
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,則應使用服務路由 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 叢集。
1.29.x
只有下列環境支援叢內 Cloud Service Mesh 1.29.x。其他環境均不支援。
| 平台 | 版本 |
|---|---|
| GKE on Google Cloud | 建議您在 Google Cloud 發布管道中註冊 GKE 叢集。註冊時,請使用「一般」發布管道,因為其他管道可能以不支援的 GKE 版本為基礎。Cloud Service Mesh 1.29 支援下列 GKE 版本:1.32 至 1.35。 如要進一步瞭解各發布管道包含的 GKE 版本,請參閱下列內容: GKE 叢集必須是標準叢集。叢集內控制層不支援 GKE Autopilot 叢集。如要使用 GKE Autopilot,請選擇代管 Cloud Service Mesh。 |
| 適用於 VMware 1.33-1.35 的 Google Distributed Cloud (僅限軟體) | Kubernetes 1.33 至 1.35 版 |
| 適用於 Bare Metal 的 Google Distributed Cloud (僅限軟體) 1.33-1.35 | Kubernetes 1.33 至 1.35 版 |
| GKE on AWS (已淘汰) | Kubernetes 1.32 至 1.34 版 |
| GKE on Azure (已淘汰) | Kubernetes 1.32 至 1.34 版 |
| GKE 附加叢集 (已淘汰) | Kubernetes 1.32-1.34 上的 Amazon EKS,以及 Kubernetes 1.33-1.34 上的 Microsoft AKS |
1.28.x
叢內 Cloud Service Mesh 1.28.x 僅支援下列環境,其他環境則不支援。
| 平台 | 版本 |
|---|---|
| GKE on Google Cloud | 建議您在 Google Cloud 發布管道中註冊 GKE 叢集。註冊時,請使用「Regular」發布管道,因為其他管道可能以不支援的 GKE 版本為基礎。Cloud Service Mesh 1.28 支援下列 GKE 版本:1.32 至 1.35。 如要進一步瞭解各發布管道包含的 GKE 版本,請參閱下列內容: GKE 叢集必須是標準叢集。叢集內控制層不支援 GKE Autopilot 叢集。如要使用 GKE Autopilot,請選擇代管 Cloud Service Mesh。 |
| 適用於 VMware 1.33-1.35 的 Google Distributed Cloud (僅限軟體) | Kubernetes 1.33 至 1.35 版 |
| 適用於 Bare Metal 的 Google Distributed Cloud (僅限軟體) 1.33-1.35 | Kubernetes 1.33 至 1.35 版 |
| GKE on AWS (已淘汰) | Kubernetes 1.32 至 1.34 版 |
| GKE on Azure (已淘汰) | Kubernetes 1.32 至 1.34 版 |
| GKE 附加叢集 (已淘汰) | Kubernetes 1.32-1.34 上的 Amazon EKS,以及 Kubernetes 1.33-1.34 上的 Microsoft AKS |
1.27.x
只有下列環境支援叢內 Cloud Service Mesh 1.27.x。其他環境均不支援。
| 平台 | 版本 |
|---|---|
| GKE on Google Cloud | 建議您在 Google Cloud 發布管道中註冊 GKE 叢集。註冊時,請使用「Regular」發布管道,因為其他管道可能以不支援的 GKE 版本為基礎。Cloud Service Mesh 1.27 支援下列 GKE 版本:1.32 至 1.35。 如要進一步瞭解各發布管道包含的 GKE 版本,請參閱下列內容: GKE 叢集必須是標準叢集。叢集內控制層不支援 GKE Autopilot 叢集。如要使用 GKE Autopilot,請選擇代管 Cloud Service Mesh。 |
| 適用於 VMware 1.33-1.35 的 Google Distributed Cloud (僅限軟體) | Kubernetes 1.33 至 1.35 版 |
| 適用於 Bare Metal 的 Google Distributed Cloud (僅限軟體) 1.33-1.35 | Kubernetes 1.33 至 1.35 版 |
| GKE on AWS (已淘汰) | Kubernetes 1.32 至 1.34 版 |
| GKE on Azure (已淘汰) | Kubernetes 1.32 至 1.34 版 |
| GKE 附加叢集 (已淘汰) | Kubernetes 1.32-1.34 上的 Amazon EKS,以及 Kubernetes 1.33-1.34 上的 Microsoft AKS |
如需代管 Cloud Service Mesh 支援的環境清單,請參閱代管 Cloud Service Mesh 環境。