FIX(falco): change Falco driver to modern_ebpf
- Use modern_ebpf driver for kernel 6.14 compatibility - Fix kernel module issues
This commit is contained in:
@@ -8,18 +8,79 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
|
|
||||||
sources:
|
source:
|
||||||
# Helm chart from Falcosecurity repository
|
# Helm chart from Falcosecurity repository
|
||||||
- repoURL: https://falcosecurity.github.io/charts
|
repoURL: https://falcosecurity.github.io/charts
|
||||||
chart: falco
|
chart: falco
|
||||||
targetRevision: 4.14.2
|
targetRevision: 4.20.0
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
values: |
|
||||||
- $values/falco/helm-values/falco.yaml
|
# Driver configuration - use modern_ebpf
|
||||||
# Values file from Git repository
|
driver:
|
||||||
- repoURL: https://gitea0213.kro.kr/bluemayne/cluster-infrastructure.git
|
enabled: true
|
||||||
targetRevision: main
|
kind: modern_ebpf
|
||||||
ref: values
|
|
||||||
|
# Image configuration - use Falco 0.40.0 for kernel 6.14 support
|
||||||
|
image:
|
||||||
|
registry: docker.io
|
||||||
|
repository: falcosecurity/falco
|
||||||
|
tag: 0.40.0
|
||||||
|
|
||||||
|
# Resource requests
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 256Mi
|
||||||
|
limits:
|
||||||
|
cpu: 1000m
|
||||||
|
memory: 1Gi
|
||||||
|
|
||||||
|
# Falco configuration
|
||||||
|
falco:
|
||||||
|
json_output: true
|
||||||
|
json_include_output_property: true
|
||||||
|
log_stderr: true
|
||||||
|
log_syslog: false
|
||||||
|
log_level: info
|
||||||
|
rules_files:
|
||||||
|
- /etc/falco/falco_rules.yaml
|
||||||
|
- /etc/falco/falco_rules.local.yaml
|
||||||
|
|
||||||
|
# Metrics
|
||||||
|
metrics:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
# Service Monitor
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: true
|
||||||
|
interval: 30s
|
||||||
|
|
||||||
|
# Falcosidekick
|
||||||
|
falcosidekick:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
debug: false
|
||||||
|
webui:
|
||||||
|
enabled: true
|
||||||
|
replicaCount: 1
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 128Mi
|
||||||
|
|
||||||
|
# RBAC
|
||||||
|
rbac:
|
||||||
|
create: true
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
create: true
|
||||||
|
name: falco
|
||||||
|
|
||||||
|
tolerations:
|
||||||
|
- effect: NoSchedule
|
||||||
|
key: node-role.kubernetes.io/master
|
||||||
|
- effect: NoSchedule
|
||||||
|
key: node-role.kubernetes.io/control-plane
|
||||||
|
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
@@ -36,6 +97,7 @@ spec:
|
|||||||
- PrunePropagationPolicy=foreground
|
- PrunePropagationPolicy=foreground
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
|
- RespectIgnoreDifferences=true
|
||||||
|
|
||||||
retry:
|
retry:
|
||||||
limit: 5
|
limit: 5
|
||||||
@@ -44,4 +106,14 @@ spec:
|
|||||||
factor: 2
|
factor: 2
|
||||||
maxDuration: 3m
|
maxDuration: 3m
|
||||||
|
|
||||||
|
# Ignore StatefulSet persistentVolumeClaimRetentionPolicy differences
|
||||||
|
# This field is set by Kubernetes but may differ from Helm chart expectations
|
||||||
|
ignoreDifferences:
|
||||||
|
- group: apps
|
||||||
|
kind: StatefulSet
|
||||||
|
name: falco-falcosidekick-ui-redis
|
||||||
|
namespace: falco
|
||||||
|
jqPathExpressions:
|
||||||
|
- .spec.persistentVolumeClaimRetentionPolicy
|
||||||
|
|
||||||
revisionHistoryLimit: 10
|
revisionHistoryLimit: 10
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# Falco Helm Values
|
# Falco Helm Values
|
||||||
# Chart: https://github.com/falcosecurity/charts/tree/master/charts/falco
|
# Chart: https://github.com/falcosecurity/charts/tree/master/charts/falco
|
||||||
|
|
||||||
# Driver configuration - use eBPF for better compatibility
|
# Driver configuration - use modern_ebpf (no compilation needed)
|
||||||
driver:
|
driver:
|
||||||
enabled: true
|
enabled: true
|
||||||
kind: ebpf # or "module" for kernel module
|
kind: modern_ebpf # Uses modern eBPF features, no driver compilation needed
|
||||||
|
|
||||||
# Image configuration
|
# Image configuration
|
||||||
image:
|
image:
|
||||||
|
|||||||
Reference in New Issue
Block a user