-
Notifications
You must be signed in to change notification settings - Fork 908
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
Set module arguments via falco-driver-loader #1342
Set module arguments via falco-driver-loader #1342
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
Overall SGTM, but I have some questions:
- Is any particular reason why we don't pass module args when loading a locally prebuilt module?
- What's the expected behavior when it loads the module with modprobe?
- Same as above when it cannot unload the module.
Moreover, I'd inform the user in case the script is not able to pass the module args. The verbosity we added to this script helped to avoid headaches - at least for me 😄
PS
Could you link here the PR on sysdig you mentioned, please?
1 & 2. Hm, looks like I submitted some unfinished work 😞 sysdig PR: draios/sysdig#1671 |
51e872c
to
2b6a886
Compare
6cd3e4b
to
48ec146
Compare
I haven't looked into retrying without parameters or printing /sys/module/falco/parameters however (say, a |
@antoinedeschenes Thank you!!! I will take a look soon... btw I think we need more eyes 👇 on this :) |
/hold |
…er arguments Signed-off-by: Antoine Deschênes <[email protected]>
Allows setting sysdig kernel module args (ex. max_consumers and verbose) Signed-off-by: Antoine Deschênes <[email protected]>
…e logs Signed-off-by: Antoine Deschênes <[email protected]>
48ec146
to
0452ea1
Compare
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh with Rotten issues close after an additional 30d of inactivity. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue with Mark the issue as fresh with Provide feedback via https://github.com/falcosecurity/community. |
@poiana: Closed this PR. In response to this:
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. |
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
FALCO_DRIVER_LOADER_ARGS
variable to pass arguments to falco-driver-loader in docker images. (ex.FALCO_DRIVER_LOADER_ARGS="--compile"
)--module-arg
option to set kernel module args viafalco-driver-loader
. (ex.falco-driver-loader --module-arg verbose=1 --module-arg max_consumers=2
This seems a little pointless at first, but we have an open PR on sysdig allowing an adjustable ring buffer size via kernel params
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: