mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-17 18:02:06 +00:00
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:
parent
f017020f62
commit
f4e2d2f9ca
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user