Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to configure Zone aware routing using Envoy Proxy #7401

Closed
vilva42 opened this issue Mar 6, 2020 · 9 comments
Closed

Provide a way to configure Zone aware routing using Envoy Proxy #7401

vilva42 opened this issue Mar 6, 2020 · 9 comments
Labels
theme/connect Anything related to Consul Connect, Service Mesh, Side Car Proxies theme/envoy/xds Related to Envoy support type/umbrella-☂️ Makes issue the "source of truth" for multiple requests relating to the same topic

Comments

@vilva42
Copy link

vilva42 commented Mar 6, 2020

Feature Description

Envoy allows you to configure zone aware routing for which you need to set cluster_type as EDS and locality information. It would be nice if there's a way to configure it through bootstrap options or provide guidance on how to accomplish this through Connect's L7 configs.

Use Case(s)

We would like to limit cross-AZ traffic.

@vilva42
Copy link
Author

vilva42 commented Apr 1, 2020

Update:

Had a discussion with @blake and found that this can be accomplished by creating service subsets. For example, you can place all your service instances under a default subset, let's say us-east-1 and an AZ subset us-east-1b. You can then use the AZ info from instance metadata with service-router's http header or query parameter to route to the same AZ subset. If no instances are found in the same AZ, requests are routed to the default subset. This way you don't run into the M:N Zone aware routing issue that envoy currently has. The downside of this approach is that it doesn't support subzone routing and requires minor code/config changes.

@dnephin dnephin added theme/connect Anything related to Consul Connect, Service Mesh, Side Car Proxies theme/envoy/xds Related to Envoy support labels Apr 1, 2020
@jsosulska jsosulska added the type/umbrella-☂️ Makes issue the "source of truth" for multiple requests relating to the same topic label Jun 15, 2020
@jsosulska
Copy link
Contributor

#6417 is linked to this.

@dschaaff
Copy link

dschaaff commented Nov 6, 2020

I'm interested in using service subsets to accomplish this today. @vilva42 were you able to get this working?

@vilva42
Copy link
Author

vilva42 commented Nov 6, 2020

@dschaaff I haven't. We decided to move on from service mesh as we were on ECS and the integration was complex.

@Shaiou
Copy link

Shaiou commented Sep 6, 2021

Hello, any issues about this issue ?

@aryaKetan
Copy link

Any update on this. Not sure if this issue is resolved but the issue remains open.

@Lord-Y
Copy link
Contributor

Lord-Y commented Jul 5, 2023

A must have, any news?

@david-yu
Copy link
Contributor

This feature is available in Consul Enterprise 1.17 and HCP Consul, as described in https://developer.hashicorp.com/consul/docs/v1.17.x/connect/manage-traffic/route-to-local-upstreams. As this is the official, supported solution from HashiCorp, we consider this issue to be resolved. Thanks so much for your interest and feedback!

@arj22
Copy link
Contributor

arj22 commented Oct 12, 2023

This feature is available in Consul Enterprise 1.17 and HCP Consul, as described in https://developer.hashicorp.com/consul/docs/v1.17.x/connect/manage-traffic/route-to-local-upstreams. As this is the official, supported solution from HashiCorp, we consider this issue to be resolved. Thanks so much for your interest and feedback!

So it is not available in the open source version for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/connect Anything related to Consul Connect, Service Mesh, Side Car Proxies theme/envoy/xds Related to Envoy support type/umbrella-☂️ Makes issue the "source of truth" for multiple requests relating to the same topic
Projects
None yet
Development

No branches or pull requests

9 participants