-
Notifications
You must be signed in to change notification settings - Fork 473
docs: Enhance kernel configuration FAQ with 'tetra probe config' guidance #4248
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
docs: Enhance kernel configuration FAQ with 'tetra probe config' guidance #4248
Conversation
✅ Deploy Preview for tetragon ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
mtardy
left a comment
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.
thanks
|
|
||
| ### What are the Linux kernel configuration options needed to run Tetragon? | ||
|
|
||
| As a first step to verify your kernel configuration, you can use the `tetra probe config` command. This will output a list of detected kernel features relevant to Tetragon. Missing features can indicate that your kernel is not configured correctly. |
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.
hey, as last time, please wrap lines
| As a first step to verify your kernel configuration, you can use the `tetra probe config` command. This will output a list of detected kernel features relevant to Tetragon. Missing features can indicate that your kernel is not configured correctly. | |
| As a first step to verify your kernel configuration, you can use the `tetra probe config` command. This will output a list of detected kernel features | |
| relevant to Tetragon. Missing features can indicate that your kernel is not | |
| configured correctly. |
63f80bc to
bd5c0d2
Compare
mtardy
left a comment
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.
I think by reading the FAQ entry that we should maybe reorganize a little bit to make it understandable, what do you think? :) here are a few suggestions
| At runtime, to probe if your kernel has sufficient features turned on, you can | ||
| run `tetra` with root privileges with the `probe` command: | ||
|
|
||
| ```shell | ||
| sudo tetra probe | ||
| ``` | ||
|
|
||
| You can also run this command directly from the tetragon container image on a | ||
| Kubernetes cluster node. For example: | ||
|
|
||
| ```shell | ||
| kubectl run bpf-probe --image=quay.io/cilium/tetragon-ci:latest --privileged --restart=Never -it --rm --command -- tetra probe | ||
| ``` | ||
|
|
||
| The output should be similar to this (with boolean values depending on your | ||
| actual configuration): | ||
|
|
||
| ``` | ||
| override_return: true | ||
| buildid: true | ||
| kprobe_multi: false | ||
| fmodret: true | ||
| fmodret_syscall: true | ||
| signal: true | ||
| large: true | ||
| ``` |
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.
by the way you could move the rest in a separate new commit so that you have
- your new probe config: to read your kernel conf
- the old probe command: to actually probe the feature on the running kernel
- the details on particular kernel config: to have the details of kernel config by config flag.
And try to make sense of how they articulate with each others because I think looks a bit strange now and is not easily understandable how this FAQ answer is written.
51cc81b to
5c5abe2
Compare
The kernel configuration section now provides a comprehensive and well-structured guide for users to verify their system compatibility with Tetragon. Fixes cilium#4114 Co-authored-by: Mahe Tardy <[email protected]> Signed-off-by: Mahe Tardy <[email protected]> Signed-off-by: Aritra Dey <[email protected]>
5c5abe2 to
fe8ff80
Compare
mtardy
left a comment
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.
Thanks I adjusted the content myself, thanks for the help on this!
Fixes #4114
Description
Update FAQ to highlight recommended
tetra probe kernel configand improve clarity.