支援的平台

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 支援下列環境:

  • 適用於 VMware 的 Google Distributed Cloud (僅限軟體)
  • 適用於裸機的 Google Distributed Cloud (僅限軟體)
  • GKE on AWS
  • GKE on Azure
  • AWS 上的 EKS Kubernetes 叢集
  • Azure 上的 AKS Kubernetes 叢集

在這些環境中,Cloud Service Mesh 會使用 asmcli 安裝在叢集內。叢集會安裝 Istio API,讓使用者設定 Kubernetes 工作負載的服務網格。

1.26.x

只有下列環境支援叢內 Cloud Service Mesh 1.26.x。其他環境則不支援。

平台 版本
GKE on Google Cloud 建議您在 Google Cloud 中,透過發布管道註冊 GKE 叢集。註冊時請使用「一般」發布管道,因為其他管道可能採用不支援的 GKE 版本。Cloud Service Mesh 1.26 支援下列 GKE 版本:1.30 至 1.33。

如要進一步瞭解各發布管道中包含的 GKE 版本,請參閱下列內容:

GKE 叢集必須是標準叢集。叢集內控制層不支援 GKE Autopilot 叢集。如要使用 GKE Autopilot,請選擇代管 Cloud Service Mesh

適用於 VMware 1.30-1.32 的 Google Distributed Cloud (僅限軟體) Kubernetes 1.30 至 1.32 版
適用於裸機的 Google Distributed Cloud (僅限軟體) 1.30-1.32 Kubernetes 1.30 至 1.32 版
GKE on AWS Kubernetes 1.30 至 1.32 版
GKE on Azure Kubernetes 1.30 至 1.31 版
GKE 附加叢集 Kubernetes 1.30-1.31 上的 Amazon EKS,以及 Kubernetes 1.30-1.31 上的 Microsoft AKS

1.25.x

叢內 Cloud Service Mesh 1.25.x 僅支援下列環境。其他環境則不支援。

平台 版本
GKE on Google Cloud 建議您在 Google Cloud 中,透過發布管道註冊 GKE 叢集。註冊時請使用「一般」發布管道,因為其他管道可能採用不支援的 GKE 版本。Cloud Service Mesh 1.25 支援下列 GKE 版本:1.30 至 1.33。

如要進一步瞭解各發布管道中包含的 GKE 版本,請參閱下列內容:

GKE 叢集必須是標準叢集。叢集內控制層不支援 GKE Autopilot 叢集。如要使用 GKE Autopilot,請選擇代管 Cloud Service Mesh

適用於 VMware 1.30-1.32 的 Google Distributed Cloud (僅限軟體) Kubernetes 1.30 至 1.32 版
適用於裸機的 Google Distributed Cloud (僅限軟體) 1.30-1.32 Kubernetes 1.30 至 1.32 版
GKE on AWS Kubernetes 1.30 至 1.32 版
GKE on Azure Kubernetes 1.30 至 1.31 版
GKE 附加叢集 Kubernetes 1.30-1.31 上的 Amazon EKS,以及 Kubernetes 1.30-1.31 上的 Microsoft AKS

1.24.x

叢內 Cloud Service Mesh 1.24.x 僅支援下列環境。其他環境則不支援。

平台 版本
GKE on Google Cloud 建議您在 Google Cloud 中,透過發布管道註冊 GKE 叢集。註冊時請使用「一般」發布管道,因為其他管道可能採用不支援的 GKE 版本。Cloud Service Mesh 1.24 支援下列 GKE 版本:1.30 至 1.33。

如要進一步瞭解各發布管道中包含的 GKE 版本,請參閱下列內容:

GKE 叢集必須是標準叢集。叢集內控制層不支援 GKE Autopilot 叢集。如要使用 GKE Autopilot,請選擇代管 Cloud Service Mesh

適用於 VMware 1.30-1.32 的 Google Distributed Cloud (僅限軟體) Kubernetes 1.30 至 1.32 版
適用於裸機的 Google Distributed Cloud (僅限軟體) 1.30-1.32 Kubernetes 1.30 至 1.32 版
GKE on AWS Kubernetes 1.30 至 1.32 版
GKE on Azure Kubernetes 1.30 至 1.31 版
GKE 附加叢集 Kubernetes 1.30-1.31 上的 Amazon EKS,以及 Kubernetes 1.30-1.31 上的 Microsoft AKS

如需代管 Cloud Service Mesh 支援的環境清單,請參閱代管 Cloud Service Mesh 環境