Interview Prep/DevSecOps/DAST, runtime detection and compliance scans

Falco pods are in `CrashLoopBackOff` on new nodes after an OS upgrade, logging `Unable to load the driver`

IntermediateTroubleshootingDAST, runtime detection and compliance scans
Answer

Likely causes → Falco uses the kernel module or the legacy eBPF probe, and no prebuilt driver exists for the new kernel. Building it at runtime fails because the headers are missing.

Diagnose →

kubectl logs -n falco ds/falco -c falco-driver-loader
kubectl get nodes -o wide        # KERNEL-VERSION column

Fix → Switch to the modern eBPF probe, which is compiled into Falco and needs no per-kernel driver (kernel 5.8+ with BTF):

helm upgrade falco falcosecurity/falco -n falco --reuse-values --set driver.kind=modern_ebpf

Prevent → Test Falco on new node images in a canary node pool before rolling out OS upgrades.

All DevSecOps questions Roadmap: Policy as code

More on DAST, runtime detection and compliance scans