支持的平台

Cloud Service Mesh 支持各种基础架构(GKE/Kubernetes、 Compute Engine)和环境(本地和其他云)。当前页面 介绍了在所有 Google Cloud 服务中使用 Cloud Service Mesh 的 API 和选项, 这些选项

在 Google Cloud 上

Google Cloud 上有两种 API 选项,具体取决于您所用的基础架构, 资源。

如果您的工作负载完全在 GKE 上运行,请使用 Istio API。

  • 使用 Fleet API 在舰队中的集群上安装 Cloud Service Mesh。

  • 选择要使用的 CA,即 MeshCA 或 CAS。舰队中的所有集群都将使用相同的 CA,在集群上运行的工作负载之间建立信任。

  • 系统会自动启用 Service Mesh 界面。

GKE 的代管式控制平面

为这些集群预配的控制平面取决于您是将集群添加到现有舰队,还是预配新的舰队。

新车队使用全球托管式控制平面。此控制平面可跨整个 Google Cloud 网络进行扩缩,并提供更高的可靠性和稳定性。

如果您要向现有舰队添加集群,新集群将使用 与现有集群相同的代管式控制平面实现。

非托管式 Cloud Service Mesh

您还可以选择使用非受管的集群内控制层面。Google 强烈建议您使用代管式 Cloud Service Mesh,以便 Google 更新和维护网格基础架构。只有当 Cloud Service Mesh 不支持您的用例。它要求用户定期发布和补丁,以确保系统保持更新。

虚拟机、GKE 和/或无代理 gRPC

如果您的工作负载是虚拟机和 GKE 的组合,或使用 无代理 gRPC,您应该使用 Service Routing API。 借助这些 API,您可以定义网格,并配置 该网格。

在 Google Cloud 之外

Cloud Service Mesh 支持 GKE 和 Cloud Run 部署的 各种环境在本例中,Cloud Service Mesh 是 GKE Enterprise on Google Cloud 的一部分。以下平台支持 Cloud Service Mesh 环境:

  • Google Distributed Cloud for VMware(纯软件)
  • Google Distributed Cloud for Bare Metal(纯软件)
  • GKE on AWS
  • GKE on Azure
  • EKS Kubernetes 集群 (AWS)
  • EKS 上的 AKS Kubernetes 集群

在这些环境中,Cloud Service Mesh 使用 asmcli。Istio API 安装在集群中,以便用户为 Kubernetes 工作负载配置服务网格。

1.23.x

集群内 Cloud Service Mesh 仅支持以下环境 1.23.x。所有其他环境均不受支持。

平台 版本
GKE on Google Cloud 我们建议您在发布渠道中注册 Google Cloud 上的 GKE 集群。注册时,请使用常规发布版本,因为其他发布版本可能基于不支持的 GKE 版本。Cloud Service Mesh 1.23 支持以下 GKE 版本:1.28-1.30。

如需详细了解每个发布版本中包含的 GKE 版本,请参阅以下内容:

GKE 集群必须是标准集群。GKE 集群内控制平面不支持 Autopilot 集群。 要使用 GKE Autopilot,您必须选择 代管式 Cloud Service Mesh

Google Distributed Cloud for VMware(纯软件)1.28、1.29、1.30 Kubernetes 1.28-1.30 版
适用于裸机 1.28、1.29、1.30 的 Google Distributed Cloud(仅限软件) Kubernetes 1.28-1.30 版
GKE on AWS Kubernetes 版本 1.28-1.30
GKE on Azure Kubernetes 1.28-1.30 版
GKE 关联集群 Amazon EKS on Kubernetes 1.28-1.30 和 Microsoft AKS on Kubernetes 1.28-1.30

1.22.x

集群内 Cloud Service Mesh 仅支持以下环境 1.22.x。所有其他环境均不受支持。

平台 版本
GKE on Google Cloud 我们建议您在发布渠道中注册 Google Cloud 上的 GKE 集群。注册时,请使用常规发布版本,因为其他发布版本可能基于不支持的 GKE 版本。Cloud Service Mesh 1.22 支持以下 GKE 版本:1.27-1.30。

如需详细了解每个发布版本中包含的 GKE 版本,请参阅以下内容:

GKE 集群必须是标准集群。集群内控制平面不支持 GKE Autopilot 集群。要使用 GKE Autopilot,您必须选择 代管式 Cloud Service Mesh

Google Distributed Cloud for VMware(纯软件)1.28、1.29、1.30 Kubernetes 1.28-1.30 版
适用于裸机 1.28、1.29、1.30 的 Google Distributed Cloud(仅限软件) Kubernetes 1.28-1.30 版
GKE on AWS Kubernetes 版本 1.28-1.30
GKE on Azure Kubernetes 1.28-1.30 版
GKE 关联集群 Kubernetes 1.28-1.30 上的 Amazon EKS 和 Kubernetes 1.28-1.30 上的 Microsoft AKS

1.21.x

集群内 Cloud Service Mesh 1.21.x 仅支持以下环境。所有其他环境均不受支持。

平台 版本
GKE on Google Cloud 我们建议您在发布渠道中注册 Google Cloud 上的 GKE 集群。注册时,请使用常规发布版本,因为其他发布版本可能基于不支持的 GKE 版本。Cloud Service Mesh 1.21 支持以下 GKE 版本:1.27-1.30。

如需详细了解每个发布版本中包含的 GKE 版本,请参阅以下内容:

GKE 集群必须是标准集群。GKE 集群内控制平面不支持 Autopilot 集群。 要使用 GKE Autopilot,您必须选择 代管式 Cloud Service Mesh

Google Distributed Cloud(仅限软件)适用于 VMware 1.28、1.29、1.30 Kubernetes 1.28-1.30 版
适用于裸机 1.28、1.29、1.30 的 Google Distributed Cloud(仅限软件) Kubernetes 1.28-1.30 版
GKE on AWS Kubernetes 版本 1.28-1.30
GKE on Azure Kubernetes 1.28-1.30 版
GKE 关联集群 Kubernetes 1.28-1.30 上的 Amazon EKS 和 Kubernetes 1.28-1.30 上的 Microsoft AKS

如需查看代管式 Cloud Service Mesh 支持的环境列表, 请参阅代管式 Cloud Service Mesh 环境