# k8s-runtime-security / kubernetes / t0 "Quick start" # # Falco watching every node, deployed by Argo CD from the official chart. # Alerts go to the pod log, which is enough to see it working. # # kubectl apply -f falco.yaml # # Verify: # kubectl run shell-test --rm -it --image=busybox -- sh # kubectl logs -n falco -l app.kubernetes.io/name=falco | grep -i "shell" # You should see a "Terminal shell in container" alert. # # Falco needs privileged access to each node to read system calls. That is the # trade: it sees everything the kernel sees. Check this against your policy # before deploying it to a cluster you share. --- apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: falco namespace: argocd finalizers: - resources-finalizer.argocd.argoproj.io spec: project: default source: repoURL: https://falcosecurity.github.io/charts chart: falco # Pin an exact version. Check the chart repository for the current one. # A moving target here means the cluster changes without a commit. targetRevision: 4.0.0 helm: values: | driver: # modern_ebpf needs kernel 5.8 or later and installs nothing on the # host. Use kmod on older kernels. kind: modern_ebpf # Rules that ship with Falco. Start here, tune later. falcoctl: artifact: install: enabled: true follow: # Rule updates arriving on their own means the cluster changes # without a commit. The Standard version turns this off and # keeps rules in Git instead. enabled: true falco: json_output: true log_level: info priority: notice destination: server: https://kubernetes.default.svc namespace: falco syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true