Use eBPF as a traffic capture source by default if cgroup V2 is enabled. (#1540)

This behavior can be reversed by setting the `tap.packetCapture`
to a specific source or manually adding the command line property:
`-disable-ebpf` to both the `worker` and the `tracer`
This commit is contained in:
Alon Girmonsky 2024-05-01 16:30:03 -07:00 committed by GitHub
parent f017020f62
commit f4e2d2f9ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,9 +62,6 @@ spec:
{{- if .Values.tap.kernelModule.enabled }} {{- if .Values.tap.kernelModule.enabled }}
- -kernel-module - -kernel-module
{{- end }} {{- end }}
{{- if ne .Values.tap.packetCapture "ebpf" }}
- -disable-ebpf
{{- end }}
{{- if .Values.tap.debug }} {{- if .Values.tap.debug }}
- -debug - -debug
- -dumptracer - -dumptracer
@ -154,9 +151,6 @@ spec:
- ./tracer - ./tracer
- -procfs - -procfs
- /hostproc - /hostproc
{{- if ne .Values.tap.packetCapture "ebpf" }}
- -disable-ebpf
{{- end }}
{{- if .Values.tap.debug }} {{- if .Values.tap.debug }}
- -debug - -debug
{{- end }} {{- end }}