-
Notifications
You must be signed in to change notification settings - Fork 912
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
Use deployment instead of daemonset for k8s audit #725
Comments
@benjaminhuo You are totally right, for those that only wants to use audit events using a deployment only is enough. It will require:
This would also open the point of whether we should make the syscall collection optional. |
I'll see I can help on this |
I've created a PR for this. So I've to add it back again. Just wondering how can I remove these safely? kubectl logs falco-k8s-audit-745c7cbfdb-kp7wb
* Setting up /usr/src links from host
ls: cannot access '/host/usr/src': No such file or directory
* Unloading falco-probe, if present
* Running dkms install for falco
Error! echo
Your kernel headers for kernel 4.4.0-148-generic cannot be found at
/lib/modules/4.4.0-148-generic/build or /lib/modules/4.4.0-148-generic/source.
* Running dkms build failed, couldn't find /var/lib/dkms/falco/0.15.3/build/make.log
* Trying to load a system falco-probe, if present
* Trying to find precompiled falco-probe for 4.4.0-148-generic
Cannot find kernel config
Thu Jul 18 11:39:45 2019: Falco initialized with configuration file /etc/falco/falco.yaml
Thu Jul 18 11:39:45 2019: Loading rules from file /etc/falco/k8s_audit_rules.yaml:
Thu Jul 18 11:39:45 2019: Unable to load the driver. Exiting.
Thu Jul 18 11:39:45 2019: Runtime error: error opening device /host/dev/falco0. Make sure you have root credentials and that the falco-probe module is loaded.. Exiting. |
At the moment we cannot remove Infact we are in the process of providing a flag to disable this behaviour (#730). |
A flag will be great to switch between these two features 👍 |
Can't wait to see that flag in place, having only audits is a very common use case many people are reporting. |
This can be done now that #779 is in place ! |
I still got the error with the latest version (0.18.0). I used the same manifest here
Please help. |
@quanvuminh can you please open an your own issue with this? This particular work had been done and it's easier for us to help you with a specific issue on that. |
What would you like to be added:
Use deployment instead of daemonset for k8s audit
Why is this needed:
Daemonset is more than enough for just monitoring k8s audit event, a deployment should be enough.
Just wondering if it's possible to use deployment for k8s audit event monitoring with falco?
The text was updated successfully, but these errors were encountered: