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

Defaults the control plane LB mode to use masquerade forwarding method #825

Open
wyike opened this issue Apr 20, 2024 · 0 comments
Open

Comments

@wyike
Copy link
Contributor

wyike commented Apr 20, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

The default local forwarding method is not forwarding to traffic to other servers of IPVS while only forwards traffic to it's uppper layer on local node, thus it cannot serve load balancing function. When Kube-vip masquerade forwarding mode support is ready, we can use it as the default forwarding mode when kube-vip control plane LB is enabled.

reference:
https://linux.die.net/man/8/ipvsadm:

[packet-forwarding-method]
   -g, --gatewaying Use gatewaying (direct routing). This is the default.
   -i, --ipip Use ipip encapsulation (tunneling).
   -m, --masquerading Use masquerading (network access translation, or NAT).

Note: Regardless of the packet-forwarding mechanism specified, real servers for addresses for which there are interfaces on the local node will be use the local forwarding method, then packets for the servers will be passed to upper layer on the local node. This cannot be specified by ipvsadm, rather it set by the kernel as real servers are added or modified

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@wyike wyike changed the title Defaults the control plane LB mode to using masquerade forwarding method Defaults the control plane LB mode to use masquerade forwarding method Apr 20, 2024
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

No branches or pull requests

1 participant