From 818a9e2bec9fb26de3e539a57944225128812aa9 Mon Sep 17 00:00:00 2001 From: Alon Girmonsky <1990761+alongir@users.noreply.github.com> Date: Fri, 24 Jan 2025 14:24:02 -0800 Subject: [PATCH] Moving to eBPF as a default packet capture method. Making default packet capture method eBPF, defaulting to AF_PACKET in case eBPF is not available --- helm-chart/templates/09-worker-daemon-set.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index c4f2723e6..eeef3e7ab 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -81,7 +81,7 @@ spec: {{- end }} - -procfs - /hostproc - {{- if ne .Values.tap.packetCapture "ebpf" }} + {{- if eq .Values.tap.packetCapture "af_packet" }} - -disable-ebpf {{- end }} {{- if .Values.tap.resourceGuard.enabled }} @@ -192,7 +192,7 @@ spec: - ./tracer - -procfs - /hostproc - {{- if ne .Values.tap.packetCapture "ebpf" }} + {{- if eq .Values.tap.packetCapture "af_packet" }} - -disable-ebpf {{- end }} {{- if .Values.tap.disableTlsLog }}