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

xds: Allow LB policy to be configured #7810

Closed
wants to merge 3 commits into from

Conversation

dnephin
Copy link
Contributor

@dnephin dnephin commented May 7, 2020

Closes #6525, replaces #7728

This PR removes the LB types that use a hash, removing the need for a hash policy. It allows configuring the LB policy to random or least_request.

@dnephin dnephin added the theme/envoy/xds Related to Envoy support label May 7, 2020
@freddygv freddygv requested a review from a team May 7, 2020 19:47
Copy link
Member

@mkeeler mkeeler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@dnephin
Copy link
Contributor Author

dnephin commented May 8, 2020

I will move the test to the new case as suggested in #7713 (comment) , once that PR merges, and also add the docs

@dnephin dnephin force-pushed the dnephin/connect-proxy-lb-config-part1 branch 2 times, most recently from 188edd0 to b6d9ccd Compare May 8, 2020 21:40
@preetapan preetapan modified the milestone: 1.8.0 May 8, 2020
dnephin added 3 commits July 13, 2020 20:02
Allow users to configure the load balancer policy and settings.
But HashPolicy is not hooked up yet
@dnephin dnephin changed the title xds: Allow LB policy to be set as random or least_request xds: Allow LB policy to be configured Jul 14, 2020
@dnephin dnephin force-pushed the dnephin/connect-proxy-lb-config-part1 branch from b6d9ccd to 1990c5b Compare July 14, 2020 00:05
@dnephin
Copy link
Contributor Author

dnephin commented Jul 14, 2020

Rebased this PR with master and added some of the changes from #7728. I think what is missing is adding the HashPolicy to the route, and a test case for that change.

When I worked on #7728 it requires some refactoring to be able to set the hash policy on route, and now that refactoring heavily conflicts, so I think that might need to be re-done. The refactor was done in 0c82a57

@dnephin dnephin marked this pull request as draft August 5, 2020 18:02
@dnephin dnephin closed this Oct 7, 2020
@kisunji kisunji deleted the dnephin/connect-proxy-lb-config-part1 branch September 13, 2021 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/envoy/xds Related to Envoy support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

connect: Allow Load-balancing algorithm to be configured.
3 participants