且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在AWS上创建Kubernetes负载均衡器

更新时间:2022-11-03 14:21:16

在您的服务定义中,设置其type

In your service definition, set its type field to LoadBalancer, and kubernetes will automatically create an AWS Elastic Load Balancer for you if you're running on AWS. This feature should work on GCE/GKE, AWS, and OpenStack.

例如,请查看 guestbook -go示例.