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

enabling kubespan #119

Open
bitnik opened this issue Oct 30, 2024 · 1 comment
Open

enabling kubespan #119

bitnik opened this issue Oct 30, 2024 · 1 comment

Comments

@bitnik
Copy link
Contributor

bitnik commented Oct 30, 2024

As mentioned in the documentation enabling kubespan doesn't work.

When I enabled it via enable_kube_span, I see the following error in cilium pods:

time="2024-10-30T11:52:04Z" level=fatal msg="Failed to compile XDP program" error="attaching XDP program to interface kubespan: interface kubespan: attaching program cil_xdp_entry using bpf_link: create link: operation not supported" subsys=datapath-loader

Looking at the cilium chart values, I saw that XDP program is mentioned in loadBalancer.acceleration settings, which is set to "native" here.

set {
name = "loadBalancer.acceleration"
value = "native"
}

So after I set it to "disabled" (do not use XDP), kubespan worked. I guess it should also work with "best-effordt.

TBH I don't really know what this settings is for. I just wanted to share what I have found out.

@mrclrchtr
Copy link
Member

Thank you for sharing. This is definitely interesting. KubeSpan did not work, even without setting Cilium to native. We introduced the native setting here later: #34

That means something else must have changed in addition.

As described in the linked ticket, native is probably more important than KubeSpan. But it is worth including this information in the docs. I'll do that when I find the time.

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