-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Kernel with CONFIG_IKHEADERS for BPF tools on Kubernetes #8582
Conversation
BCC tools need to have access to kernel headers. It can be done either by installing linux-headers packages or by having a kernel compiled with CONFIG_IKHEADERS so that enough information can be retrieved via /sys/kernel/kheaders.tar.xz. BCC tools are used in Inspektor Gadget, a collection of tools for developers of Kubernetes applications. I would like Inspektor Gadget to support Minikube.
Welcome @alban! |
Hi @alban. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Can one of the admins verify this patch? |
It seems to work:
|
/assign @josedonizetti |
@alban : we don't have any packages on the minikube iso, so this could be a good alternative 3 MB doesn't seem to much to pay (size addition to the iso), for having better BPF compatibility |
/ok-to-test |
kvm2 Driver |
Thanks for the quick review @afbjorklund! I understand we need a |
Actually we need a merge and then a new ISO, and we are currently having some issues with it... |
But I think the configuration change looks good, maybe we need to update the docs as well ? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afbjorklund, alban The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
BCC tools need to have access to kernel headers. It can be done either
by installing linux-headers packages or by having a kernel compiled with
CONFIG_IKHEADERS so that enough information can be retrieved via
/sys/kernel/kheaders.tar.xz.
BCC tools are used in Inspektor Gadget, a collection of tools for
developers of Kubernetes applications. I would like Inspektor Gadget to
support Minikube.
Fixes #8556