-
Notifications
You must be signed in to change notification settings - Fork 3.4k
bpf: remove cilium_host ip addr scope link #21738
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
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
make iptables masquerade choose cilium_host ip addr when access service external ip (backend is a pod in another node) in a pod Signed-off-by: liuxu <liuxu623@gmail.com>
@borkmann Hi, could you take a look? |
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.
Could you explain in the commit description why you are making this change? Is it fixing a bug and, if so, what is the bug?
The bug is when access service external ip / node port in a pod, and backend is a pod in another node, reply package will not through cilium_vxlan, it maybe drop by network device like router, you can see #21737 more details. |
This comment was marked as off-topic.
This comment was marked as off-topic.
I confirm the bug and fix. We use metallb in ARP mode, and access from a pod in the cluster to a loadbalancer IP only works from the node elected as leader for the given IP. Once the scope of |
This pull request has been automatically marked as stale because it |
This PR is not stale. The "link" scope was added 4 years ago by 2d099f4 (#1614). @tgraf @aanm @aalemayhu Any input on this PR? |
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.
My above review is still valid.
I hit this same bug in a different context, so I resubmitted this as #23241, with a proper commit description. |
make iptables masquerade choose cilium_host ip addr when access service external ip (backend is a pod in another node) in a pod
Fixes: #21737