简体   繁体   English

在两个不同的云提供商之间实现Kubernetes集群的负载均衡

[英]Load balancing Kubernetes cluster across two different cloud providers

I want to create one kubernetes cluster on GCE and another one on AWS, both running the same application. 我想在GCE上创建一个kubernetes集群,在AWS上创建另一个,都运行相同的应用程序。

What would be the best way to load balance across them? 跨它们进行负载平衡的最佳方法是什么?

You can deploy the same application on both platforms, expose it via an L3 / L7 service and then create a DNS entry that includes the public IP for each cluster. 您可以在两个平台上部署相同的应用程序,通过L3 / L7服务将其公开,然后创建一个DNS条目,其中包括每个群集的公共IP。

If you want more than just round-robin load balancing, you can use a service like Route 53 to do latency or geo based routing and also add DNS health checks. 如果您不仅需要循环负载平衡,还可以使用Route 53之类的服务来进行延迟或基于地理位置的路由,还可以添加DNS运行状况检查。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 跨不同 Elastic Beanstalk 应用程序的负载平衡 - Load balancing across different Elastic Beanstalk applications 是否很容易在不同的kubernetes托管服务提供商之间切换? - is it easy to switch between different kubernetes hosting providers? AWS 混合云负载平衡流量 - AWS Hybrid Cloud Load Balancing the traffic 如何在来自不同云提供商的两台计算机之间建立SSH连接? - How to establish SSH connection between two machines from different cloud providers? 从Kubernetes中的其他云提供商在现有群集中添加节点时出现问题? - Issue while adding node in existing cluster from different cloud provider in kubernetes? 为Kubernetes HA集群选择AWS负载均衡器 - Choosing of AWS Load Balancer for Kubernetes HA cluster AWS Cloud Formation弹性负载平衡帐户ID - AWS Cloud Formation Elastic Load Balancing Account ID 从另一台计算机访问Kubernetes集群的API - Accessing API of a kubernetes cluster from a different computer 我们可以在同一个 terraform 代码中使用两个云提供商吗 - Can we use two Cloud Providers in same terraform code 使用云提供商 AWS 为 Kubernetes 集群使用 VPC 端点 - Using VPC Endpoints for Kubernetes cluster using cloud provider AWS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM