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

[FEATURE] GlobalTrafficPolicy differentiation by URI (Request Path) #98

Open
thinkin opened this issue Apr 28, 2020 · 3 comments
Open
Labels

Comments

@thinkin
Copy link

thinkin commented Apr 28, 2020

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.

Describe the solution you'd like
A clear and concise description of what you want to happen.
for example,where app A access app B(A us-east to B us-east,A us-west to B us-west ),but now i find flow (url prefix=/api/v1) has problem,i want to shifting app A 50% in us-east to B us-west(but only affect flow which url's prefix eq /api/v1 ),how to achieve by GlobalTrafficPolicy?
thanks!

@thinkin thinkin added the enhancement New feature or request label Apr 28, 2020
@aattuluri
Copy link
Contributor

aattuluri commented Apr 28, 2020

@thinkin Locality load balancing in istio is currently supported at a host level (its configurable on DestinationRule). Supporting the behavior at a route level would need some sophisticated configuration to create east and west specific endpoints (service entries?) and then using Istio VirtualService to shift traffic. I don't think this specific use case can be supported at the moment in admiral without native Istio support.

Also, what you are testing above is a blue/green deployment (see argo rollouts, we are adding support in admiral for rollouts in admiral v1.0 release) meaning you can use same region to test what you want do not need to mix locality into this testing, because I don't see why /api/v1 would fail in west and not other APIs? Let me know your thoughts.

@thinkin
Copy link
Author

thinkin commented Apr 29, 2020

@aattuluri

because I don't see why /api/v1 would fail in west and not other APIs? Let me know your thoughts.

for example, router module which controls entrance traffic;
未命名文件

@aattuluri aattuluri added this to the Nebulous Future milestone Sep 2, 2020
@benchi benchi changed the title [FEATURE] How to achieve GlobalTrafficPolicy by different request [FEATURE] GlobalTrafficPolicy differentiation by URI (Request Path) Nov 23, 2020
@benchi
Copy link
Collaborator

benchi commented Nov 23, 2020

We would like to see some more interest from other folks before prioritizing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants