-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Load Balancing with network redirect #15057
Comments
Can you clarify? This nginx config doesn't seem to bypass nginx. In theory, you cannot because "http request lb" and "bypass HTTP proxy" is contradicting. A L7 proxy cannot determine the http request/response boundary if the byte stream is not parsed by http proxy. |
I will try to describe the behavoir I would like to obtain. |
One more thing to point out in my nginx example, the bypassing nginx and creating a direct connection user<-->backend is done by returning http code 302 which can be used for URL redirection |
We don't support anything like this today, though I suppose it could be relatively easily implemented with an HTTP upstream plugin that just returns a redirect? cc @alyssawilk |
Aha, I misinterpreted the requirement. I thought you are asking for LVS on HTTP + DSR. Looks like envoy acts as a dynamic content server. The future http upstream may cover this as Matt mentioned. It's also possible to intercept the upstream request by a new cluster upstream extension. When your self-defined It's not a trivial approach though but this is the most reasonable one in my head |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions. |
Title: Configuring Load Balancing with network redirect
Description:
In nginx there is ngx_http_split_clients_module
The text was updated successfully, but these errors were encountered: