如何在Anthos多个集群中实现内部服务之间的通信。

huangapple go评论58阅读模式
英文:

How to achieve internal service to service communication in Anthos multiple clusters

问题

如何在Anthos多个集群中实现内部服务之间的通信示例
服务A部署在GKE集群中,服务B部署在AKS集群中,这里我们如何从服务B内部调用服务A?

英文:

How to achieve internal service to service communication in Anthos multiple clusters Example
service A deployed in GKE cluster and service B deployed in AKS cluster, here how we can call service A from service B (internally) ?

答案1

得分: 1

根据 @Harsh Manver 的建议,您可以在 Google Cloud 之外设置多集群网格,以实现 Anthos 多个集群中的内部服务间通信。

如在文档中所述:

> 集群的 Kubernetes 控制平面地址和网关地址
> 需要从网格中的每个集群可达。GKE 集群所在的 Google Cloud
> 项目应允许创建外部负载均衡类型。
>
> 我们建议您使用授权网络和 VPC 防火墙规则
> 限制访问,并确保流量不会暴露给
> 公共互联网。

英文:

As suggested by @Harsh Manver you can set up a multi cluster mesh outside Google Cloud to achieve internal service to service communication in Anthos multiple clusters.

As mentioned in the document:

> The cluster's Kubernetes control plane address and the gateway address
> need to be reachable from every cluster in the mesh. The Google Cloud
> project in which GKE clusters are located should be allowed to create
> external load balancing types.
>
> We recommend that you use authorized networks and VPC firewall rules
> to restrict the access and ensure traffic should not exposed to
> public internet

huangapple
  • 本文由 发表于 2023年5月29日 16:18:07
  • 转载请务必保留本文链接:https://go.coder-hub.com/76355705.html
  • google-anthos
  • google-anthos-service-mesh
  • google-cloud-platform
  • google-kubernetes-engine
  • kubernetes
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定