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

Show LB Algorithm in RoutingTable (/routes page) #447

Merged

Conversation

a18e
Copy link
Contributor

@a18e a18e commented Oct 22, 2024

Summary

Adds load_balancing_algorithm to Endpoint JSON representation to display the LB algorithm in the /routes page. This simplifies debugging of related issues.
The option to set route-specific load balancing algorithms was introduced in #428.

Backward Compatibility

Breaking Change? No

(According to the Gorouter docs, the /routes endpoint is an internal feature, so it shouldn't be a breaking change even though we're adding a JSON property.)

Shows the lb algorithm of each endpoint in Gorouters /routes page.
This simplifies debugging of related issues.
The option to set route-specific load balancing algorithms was
introduced in cloudfoundry#428.
@a18e a18e marked this pull request as ready for review October 22, 2024 13:15
@a18e a18e requested a review from a team as a code owner October 22, 2024 13:15
Copy link
Contributor

@MarcPaquette MarcPaquette left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the contribution!

@MarcPaquette MarcPaquette merged commit 9ca6acc into cloudfoundry:main Oct 22, 2024
1 check passed
@maxmoehl maxmoehl deleted the show-lb-algo-in-endpoint branch October 23, 2024 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants