-
Notifications
You must be signed in to change notification settings - Fork 592
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
feat: support multiple backendRefs for HTTPRoute load-balancing #2402
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how we solve the problem of allowing edits to Services' annotations after they've been used in a multi-backend route effectively outside an intentional stop the world or something stupid like designating a primary Service used as the sole source of truth. It's quite annoying to deal with.
b1ca024
to
4c09144
Compare
b0f1fff
to
5572595
Compare
25e9a14
to
fea3203
Compare
What this PR does / why we need it:
This adds support for multiple
backendRefs
inHTTPRoute
objects, enabling weighted load-balancing between multiple services for any specific routing rule.Which issue this PR fixes
Resolves #2166
Notes:
Also running E2E tests for this: https://github.com/Kong/kubernetes-ingress-controller/actions/runs/2110253994 ✔️
PR Readiness Checklist:
CHANGELOG.md
release notes have been updated