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

[Feature Request] OVN-DNAT router-lb #4989

Open
abasitt opened this issue Feb 13, 2025 · 6 comments
Open

[Feature Request] OVN-DNAT router-lb #4989

abasitt opened this issue Feb 13, 2025 · 6 comments
Labels
bug Something isn't working eip

Comments

@abasitt
Copy link

abasitt commented Feb 13, 2025

Kube-OVN Version

v1.13.2

Kubernetes Version

v1.30.3

Operation-system/Kernel Version

Rocky Linux 8.6
4.18.0-372.26.1.el8_6.x86_64

Description

I want to use router-lb to expose multiple endpoints behind EIP. As per the doc here, it's possible.

I wonder it's a doc bug or can this really be done ? The CR and example only allow me to attach EIP to either VIP, Single IP or PODIP but not to a service IP or group of endpoints that can be behind selector?

Steps To Reproduce

...

Current Behavior

...

Expected Behavior

...

@abasitt abasitt added the bug Something isn't working label Feb 13, 2025
Copy link

dosubot bot commented Feb 13, 2025

Hey @abasitt! 👋 I'm here to help you out with any bugs, questions, or contributions you have. Let's crack this nut together!

The current implementation of the router-lb feature in Kube-OVN allows for the attachment of an EIP to different types of IPs, such as a Logical Switch Port (LSP) or for NAT purposes (FIP, DNAT, SNAT) [1]. However, there is no specific information available in the provided context about attaching an EIP directly to a service IP or a group of endpoints behind a selector.

The documentation you referred to might suggest that it's possible, but the examples and CRDs you mentioned seem to focus on attaching EIPs to VIPs, Single IPs, or PODIPs. This could indicate a limitation or a gap in the documentation or examples provided.

If the documentation explicitly states that attaching an EIP to a service IP or multiple endpoints is possible, it might be worth verifying if there are any additional configurations or annotations required that are not immediately apparent in the examples or CRDs.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other | Bug Report

@dosubot dosubot bot added the eip label Feb 13, 2025
@zbb88888
Copy link
Collaborator

It is not a bug, we use the ovn router lb to provide a DNAT.

You want a router LB, maybe later we can try to make it.

And there is a load balancer feature too, you can try.

@zbb88888
Copy link
Collaborator

you can find the switch lb rule CRD, but not have router LB rule CRD.

@abasitt
Copy link
Author

abasitt commented Feb 14, 2025

Yeah I try the load-balancer feature but I don't like that. it creates a single LB pod which has a high fail-over timing. I wanted to try if I can use router LB directly in OVN that can be dnated to kubernetes service directly or can be mapped to group of endpoints. That would be amazing.
Would it be okay if I change this issue to feature request?

@zbb88888
Copy link
Collaborator

Yeah I try the load-balancer feature but I don't like that. it creates a single LB pod which has a high fail-over timing. I wanted to try if I can use router LB directly in OVN that can be dnated to kubernetes service directly or can be mapped to group of endpoints. That would be amazing. Would it be okay if I change this issue to feature request?

ok

@abasitt abasitt changed the title [BUG] OVN-DNAT router-lb [Feature Request] OVN-DNAT router-lb Feb 17, 2025
@abasitt
Copy link
Author

abasitt commented Feb 17, 2025

Similar to this one.
#4421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working eip
Projects
None yet
Development

No branches or pull requests

2 participants