kumahq / kuma

🐻 The multi-zone service mesh for containers, Kubernetes and VMs. Built with Envoy. CNCF Sandbox Project.
https://kuma.io/install
Apache License 2.0
3.55k stars 326 forks source link

Reuse endpoint map to create zone ingress (and egress?) endpoint map #10790

Open jakubdyszkiewicz opened 4 days ago

jakubdyszkiewicz commented 4 days ago

Description

Follow up of https://github.com/kumahq/kuma/pull/10748

We could also mark Endpoints that target ingresses. Then take the results of BuildEdsEndpointMap and BuildCrossMeshEndpointMap and filter out those endpoints. I didn't want to do this now, I worry this would be error-prone, because we also need to manipulate weights.

lahabana commented 4 days ago

Yes! I think that's what I've thinking for a while that there could be a cluster cache and these confs are more controlled