Open vsoch opened 5 months ago
Hi, sorry for the late reply. This project was built on top of the BCC library which requires Linux headers to be installed on each node. To do that, I was using the script found at https://github.com/mclenhard/ebpf-summit/blob/master/init/fetch-linux-headers.sh. However, it looks like it hasn't held up against newer kernel versions. The last time I checked, it was working with kernel version 5.4.
As of now, most of my eBPF work is done with aya, which doesn't have this requirement. When I get the time, I will see if this script can be fixed. In the meantime, if this is just a local setup, you can simply install the Linux kernel headers and get this to work.
Hi! I'm trying to test this out (just locally with kind to start) and there is an issue with the init-headers:
And then it looks like an issue with diff:
And then (maybe logically) the ebpf code does not compile in the main container:
There aren't many examples of basic setups to write and deploy an ebpf program to kubernetes, so I'm hoping we can update the example here to get it working. Thank you!