-
Notifications
You must be signed in to change notification settings - Fork 228
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
Try Falco on Kubernetes - k3d instead of k3s directly in quickstart on kubernetes #1135
Comments
anyone any idea how to get falco working easily on virtualbox with ubuntu and then using k3d? Would really be helpful to understand what needs to be changed in configuration to get falco working on k3d test clusters. |
@gsfd2000 The quickstart is not meant to be a comprehensive guide to getting Falco running on Kubernetes, so we only chose one platform that we know that folks can use for Windows, Linux, and Mac. Because of this, providing instructions on K3D and the eBPF probe are out of scope for the Quickstart. |
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 |
@gsfd2000 sorry for the late answer, actually yes, there is an easy way to run Falco on K3D. I tried the following:
As you can see, you need to use the @mikegcoleman @pmusa K3D should be supported out of the box with the modern bpf, it really depends on the underlying running machine. Maybe we should use the modern bpf as the default deployment method and just highlight that all scenarios in docker like K3D, KinD, ... are supported out of the box with the only constraint of a kernel version >= 5.8 |
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: Closing this issue. 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. |
/area documentation
https://falco.org/docs/getting-started/falco-kubernetes-quickstart/
What would you like to be added:
I dont success in getting this running with k3d instead of k3s,
using v1.26.2-k3s1 k3d cluster,
using helm chart, only parameter applied: kind.driver: ebpf
using virtualbox bento/ubuntu-22.04 as in example
always issue that ebpf probe cannot be generated due to missing target identifier? Does it get lost due to the docker layer on top of the VM? pls create also a scenario with k3d working, that would be awesome
error:
vagrant@b-ubuntu-08202023:~$ kubectl logs falco-bmsgr -n falco falco-driver-loader
mount: /sys/kernel/debug: permission denied.
curl: (22) The requested URL returned error: 404
Unable to find a prebuilt falco eBPF probe
expr: syntax error: unexpected argument '1'
make[1]: *** /lib/modules/5.15.0-79-generic/build: No such file or directory. Stop.
make: *** [Makefile:38: all] Error 2
mv: cannot stat '/usr/src/falco-5.0.1+driver/bpf/probe.o': No such file or directory
Unable to load the falco eBPF probe
Why is this needed:
would be great to have the scenario running on k3d instead of k3s, gives more flexibiltiy and speed for testing different scenarios on one vm
Thx
The text was updated successfully, but these errors were encountered: