Repository navigation
Conversation
…backends are available Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
✅ Deploy Preview for cerulean-figolla-1f9435 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10180 +/- ##
==========================================
+ Coverage 81.48% 81.50% +0.01%
==========================================
Files 266 266
Lines 41390 41399 +9
==========================================
+ Hits 33728 33742 +14
+ Misses 7661 7656 -5
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
Author
9 of 11 tasks
Contributor
|
@codex review |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
When an HTTPRoute/GRPCRoute rule has multiple backendRefs and some of them have no ready endpoints, their share of traffic is currently sent to
invalid-backend-clusterand returns 503, even though healthy backends exist in the same rule.This PR drops backendRefs without ready endpoints from the rule's destination when at least one other backendRef is available, so the remaining backends receive all the traffic per their relative weights.
BackendsAvailable=False(EndpointsNotFound) condition is still reported.invalid-backend-cluster(503), rule split into per-backend weighted clustersinvalid-backend-cluster(503)invalid-backend-cluster(500)Also, GRPCRoute now marks destinations with processing errors as invalid, as HTTPRoute already does.
Which issue(s) this PR fixes:
Fixes #8031
PR Checklist
git commit -s). See DCO: Sign your work./api), the API was discussed and agreed before the implementation. The API change can be in a separate PR, or in the same PR, but the API must be agreed before implementation. N/A if this PR does not contain API changes.make generate gen-check,make lint, and the unit-test/coverage build pass. (Flaky e2e failures are not considered breakages, butgen-check,lint, and coverage MUST pass.)release-notes/current/<section>/<pr-number>-<slug>.md(seerelease-notes/current/README.mdfor sections and naming). N/A if this PR does not contain non-trivial changes.make gen-checkand committed the result if API/helm charts/modules changed.release-notes/current/breaking_changes/.