-
Notifications
You must be signed in to change notification settings - Fork 456
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
ovn lb select the local chassis's backend prefer #4894
Open
changluyi
wants to merge
2
commits into
master
Choose a base branch
from
lb_service_select_local_backend
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
dosubot
bot
added
the
size:XS
This PR changes 0-9 lines, ignoring generated files.
label
Jan 2, 2025
Pull Request Test Coverage Report for Build 12684623577Details
💛 - Coveralls |
changluyi
force-pushed
the
lb_service_select_local_backend
branch
from
January 6, 2025 03:06
93b8ed4
to
318cff3
Compare
changluyi
changed the title
template test
ovn lb select the local chassis's backend prefer
Jan 6, 2025
changluyi
force-pushed
the
lb_service_select_local_backend
branch
from
January 7, 2025 11:30
318cff3
to
cdbf329
Compare
dosubot
bot
added
size:L
This PR changes 100-499 lines, ignoring generated files.
and removed
size:XS
This PR changes 0-9 lines, ignoring generated files.
labels
Jan 7, 2025
changluyi
force-pushed
the
lb_service_select_local_backend
branch
from
January 8, 2025 02:47
cdbf329
to
ffd7994
Compare
dosubot
bot
added
size:XS
This PR changes 0-9 lines, ignoring generated files.
and removed
size:L
This PR changes 100-499 lines, ignoring generated files.
labels
Jan 8, 2025
changluyi
force-pushed
the
lb_service_select_local_backend
branch
from
January 9, 2025 05:30
ffd7994
to
21e47a8
Compare
dosubot
bot
added
size:XL
This PR changes 500-999 lines, ignoring generated files.
and removed
size:XS
This PR changes 0-9 lines, ignoring generated files.
labels
Jan 9, 2025
changluyi
force-pushed
the
lb_service_select_local_backend
branch
from
January 9, 2025 05:31
21e47a8
to
2ade8ff
Compare
dosubot
bot
added
size:XS
This PR changes 0-9 lines, ignoring generated files.
and removed
size:XL
This PR changes 500-999 lines, ignoring generated files.
labels
Jan 9, 2025
Signed-off-by: clyi <[email protected]>
changluyi
force-pushed
the
lb_service_select_local_backend
branch
from
January 9, 2025 06:13
2ade8ff
to
add2969
Compare
Signed-off-by: clyi <[email protected]>
dosubot
bot
added
size:XL
This PR changes 500-999 lines, ignoring generated files.
and removed
size:XS
This PR changes 0-9 lines, ignoring generated files.
labels
Jan 15, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
Improve exist functions
feature
New network feature
size:XL
This PR changes 500-999 lines, ignoring generated files.
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.
Pull Request
What type of this PR
Examples of user facing changes:
目前只改了ovn 部分代码,kube-ovn 代码还在开发,可以暂时使用slr的配置:配置模板入下:
实现原理是获取到vip backend的 chassis , 新增加流表入下:
is_chassis_resident("nginx-6f55f97f94-8kvlx.default") , 其中 nginx-6f55f97f94-8kvlx.default 是某个vip 的backend下的任意一个lsp,backends=10.16.0.3:80 表示这个lb 在这个chassis下的所有backendip: port 。
如果hit不到以上流表,就会走原来的ovn lb 规则。
该功能需要配置Load_balancer的 两个字段
option:prefer_local_backend
ip_port_mappings
Which issue(s) this PR fixes
Fixes #(issue-number)