英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论