更新时间:2022-11-03 14:21:16
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示例.