-
Notifications
You must be signed in to change notification settings - Fork 903
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
Falco crash after few minutes on GKE 1.27 on COS #3278
Comments
Hi! Thanks for opening this issue! Can you share the logs from the |
this error because pods falco-driver-loader is't running to building driver. for log falco-driver-loader, this
@FedeDP please help me for finding solution |
The weird thing is that
See https://github.com/falcosecurity/charts/tree/master/charts/falco#deploying-falco-in-kubernetes (the modern_ebpf part):
|
I already to deploy at initcontainer
i already use with helm like
it's same problem. |
Having a similar issue with a Raspberry Pi cluster after upgrading both the Kernel and Falco. After downgrading the Helm chart to v3.8.4 (Falco 0.36.2) the pods are running and everything looks right again. |
I'm trying to downgrading version falco(v0.36.2) the pods
|
Looks like you may have a permissions issue? Some kind of admission control in place/restrictive seccomp config to limit what syscalls the pods are allowed to use perhaps? At least looks like the driver not compiling is fixed, I dont know what changed in the updated Falco chart for this to happen |
@judikag03 @judika03 could you share your helm values file? or at least the variables that you customized, if any. |
@alacuku this container manifest
|
No, I mean the values.yaml file or the helm command you are using to install falco. |
i use command to install falco,
To verify again, I checked the manifest like
this manifest have tested on GKE cluster running Kubernetes |
I have been testing a bit in my cluster, I'm able to install the Falco chart up to the 4.3.1 version. Using any chart version higher than that results in the Falco pods crashing with the initial error reported in this issue while building the driver:
Are you able to replicate this @judika03? |
yes. it similar issue if using version 0.38.1(latest)
i testing if using |
The problem is that, as it can be seen from your outputs, Can you share the kernelrelease from the nodes? |
Uh i think i found out the bug; is your kernelrelease similar to |
I hope this bug can be fixed, thank you |
falcosecurity/driverkit#355 fixes our kernelrelease matching regex to support COS kernels ;) I also added a test to avoid future failures. |
/milestone 0.39.0 |
Falcoctl PR with the driverkit update: falcosecurity/falcoctl#632 |
Me and @alacuku just tested on cos version |
I have tested it too, and have successfully built the driver. Thank you @FedeDP |
You are welcome, thanks for spotting the bug in the first place :D |
So, Falco 0.39.0-rc1 is out; this is the first Release Candidate for the new release that is expected to be released in a couple of weeks. Are you willing to test it? @judika03 |
Super Happy to hear it! Thanks for spotting the issue and patiently helping us debug it :) |
@FedeDP: 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-sigs/prow repository. |
Describe the bug
Hi
We are instaling Falco on one of cluster in 1.27.11-gke.1062004 with container optimized OS for GKE kernel 5.15.146+ and we face regular CrashLoopBackOff of each falco-no-driver:0.38.1 to install driver ebpf.
--
How to reproduce it
It is deployed using the Helm chart latest (falco 0.38.1) as deamonset, on a GKE cluster running Kubernetes 1.27..
The falco config is
After few minutes, the container crash (exitCode: 1), here is a container log:
2024-07-10 02:23:08 ERROR no supported driver found for distro: cos, kernelrelease , kernelversion #1 SMP Sat Feb 17 13:12:02 UTC 2024, arch x86_64
2024-07-10 02:23:08 INFO Running falcoctl driver install
├ driver version: 7.2.0+driver
├ driver type: modern_ebpf
├ driver name: falco
├ compile: true
├ download: true
├ target: cos
├ arch: x86_64
├ kernel release:
└ kernel version: #1 SMP Sat Feb 17 13:12:02 UTC 2024`
Expected behaviour
No crash :)
Screenshots
Environment
Helm chart latest (falco 0.38.1 ) as deamonset, on a GKE cluster running Kubernetes 1.27.
Wed Jul 10 09:33:17 2024: Falco version: 0.38.1 (x86_64)
Wed Jul 10 09:33:17 2024: Falco initialized with configuration files:
Wed Jul 10 09:33:17 2024: /etc/falco/falco.yaml
Wed Jul 10 09:33:17 2024: System info: Linux version 5.15.0-113-generic (buildd@lcy02-amd64-017) (gcc (Ubuntu 9.4.0-1ubuntu1
20.04.2) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #12320.04.1-Ubuntu SMP Wed Jun 12 17:33:13 UTC 2024Falco version: 0.38.1
Libs version: 0.17.2
Plugin API: 3.6.0
Engine: 0.40.0
Driver:
API version: 8.0.0
Schema version: 2.0.0
Default driver: 7.2.0+driver
Cloud provider or hardware configuration: GKE cluster running Kubernetes 1.27.
OS: cos_containerd
Kernel: Linux 5.15.146+
The text was updated successfully, but these errors were encountered: