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 cilium with ebpf support #1490

Open
raa0x0 opened this issue Sep 26, 2024 · 1 comment
Open

feature cilium with ebpf support #1490

raa0x0 opened this issue Sep 26, 2024 · 1 comment
Assignees

Comments

@raa0x0
Copy link

raa0x0 commented Sep 26, 2024

Thank You for cilium support!

We have test that setup, egress is working.

In the default configuration cilium is doint SNAT, and we are losing SRC IP when using load balancer.
So we need to enable "DSR".
DSR+geneve is working with egressgateway (DSR without geneve not).

But there is probably bug in cilium in this configuration, i commented one issue

LB with dsr+geneve is working when I install cilium with --set bpf.masquerade=true, but unfortunately egressgateway not working then.
LB works good too (with bpf.masquerade=false) when pod which have LB as service, have some egress configuration.
So probably cilium with iptables masquerade doing something wrong (i think).

Maybe You can add support for ebpf conf?

@lou-lan
Copy link
Collaborator

lou-lan commented Sep 27, 2024

Thank You for cilium support!

We have test that setup, egress is working.

In the default configuration cilium is doint SNAT, and we are loosing SRC IP when using load balancer. So we need to enable "DSR". DSR+geneve is working with egressgateway (DSR without geneve not).

But there is probably bug in cilium in this configuration, i commented one issue

LB with dsr+geneve is working when I install cilium with --set bpf.masquerade=true, but unfortunately egressgateway not working then. LB works good too (with bpf.masquerade=false) when pod which have LB as service, have some egress configuration. So probably cilium with iptables masquerade doing something wrong (i think).

Maybe You can add support for ebpf conf?

Thanks for your feedback, for this case egressgateway needs to add an ebpf function to solve it, I'm going to spend some time to verify it. I'll reply later in the issue.

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

2 participants