【发布时间】:2022-10-08 23:30:52
【问题描述】:
我正在尝试在我的家庭实验室中安装 Falco(K3s v1.23.6+k3s1 on Pop!_OS v20.04)。对于工作,我需要创建一个响应引擎,为此我选择了 FalcoSidekick 和 OpenFAAS - 在将其带到 EKS 之前,我想在本地对其进行测试。
我正在使用标准 Helm 图表:
kubectl create ns falco
helm upgrade --install falco \
--set falco.jsonOutput=true --set auditLog.enabled=true \
--set image.repository=falcosecurity/falco-no-driver \
--set falcosidekick.enabled=true \
--set falcosidekick.config.openfaas.functionname="falco-pod-delete" \
--namespace falco \
falcosecurity/falco
由于 falco-driver-loader Init Container 无法从我的操作系统下载驱动程序(来自 here,因此它尝试构建驱动程序并失败,因此出现此问题。
* Looking for a falco module locally (kernel 5.17.5-76051705-generic)
* Trying to download a prebuilt falco module from https://download.falco.org/driver/2.0.0%2Bdriver/x86_64/falco_pop_5.17.5-76051705-generic_202204271406.ko
curl: (22) The requested URL returned error: 404
Unable to find a prebuilt falco module
* Trying to dkms install falco module with GCC /usr/bin/gcc
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
You are using: gcc (Debian 5.5.0-12) 5.5.0 20171010
CC [M] /var/lib/dkms/falco/2.0.0+driver/build/main.o
gcc: error: unrecognized command line option '-mharden-sls=all'
gcc: error: unrecognized command line option '-Wimplicit-fallthrough=5'
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/falco/2.0.0+driver/build/main.o] Error 1
我想知道我是否能够使用 Ubuntu 驱动程序,如果可以,我该如何覆盖它?
【问题讨论】:
标签: kubernetes k3s falco