gateway icon indicating copy to clipboard operation
gateway copied to clipboard

about loadBalancer

Open cx2c opened this issue 1 year ago • 2 comments

image

关于loadBalancer,通常我们希望loadBalancer对应的外网IP是固定的。 在生产的维护场景,我们会先手动在云控制台创建lb,然后在使用nginx-ingress或者是istio的时候,在编排中填入此lb的id进行固定。那Envoy Gateway怎么指定lb id呢。

还有在实际的使用窗景中, 我先创建一个GatewayClass,然后再基于此GatewayClass创建一个Gateway。当我创建多个Gateway时候,会创建多个LoadBalancer负载均衡。但是当我删除Gateway时, 系统还是会有一个LoadBalancer类型service并不会删除。请问Gateway正确的使用姿势是什么

cx2c avatar Feb 19 '24 09:02 cx2c

In the cloud, if you want to reuse a created lb, you can usually specify the lb id in the Service annotation, so it is also similar in Envoy Gateway, you can customize the Service resource with EnvoyProxy CRD.

Xunzhuo avatar Feb 19 '24 10:02 Xunzhuo

Second question, if you did not enable mergeGateway, 1 Gateway CR - 1 EnvoyProxy Deployment / Service, etc.

If you want to delete all created resources, you need to delete all Gateway CR.

Xunzhuo avatar Feb 19 '24 10:02 Xunzhuo

/close for lack of feedbacks

Xunzhuo avatar Mar 05 '24 11:03 Xunzhuo