mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-29 09:39:54 +00:00
Replace DisableCgroupIdResolution
field with ResolutionStrategy
of MiscConfig
struct
This commit is contained in:
parent
a58f72ed87
commit
d6143f5a6a
@ -154,7 +154,7 @@ type MiscConfig struct {
|
|||||||
TrafficSampleRate int `yaml:"trafficSampleRate" json:"trafficSampleRate" default:"100"`
|
TrafficSampleRate int `yaml:"trafficSampleRate" json:"trafficSampleRate" default:"100"`
|
||||||
TcpStreamChannelTimeoutMs int `yaml:"tcpStreamChannelTimeoutMs" json:"tcpStreamChannelTimeoutMs" default:"10000"`
|
TcpStreamChannelTimeoutMs int `yaml:"tcpStreamChannelTimeoutMs" json:"tcpStreamChannelTimeoutMs" default:"10000"`
|
||||||
TcpStreamChannelTimeoutShow bool `yaml:"tcpStreamChannelTimeoutShow" json:"tcpStreamChannelTimeoutShow" default:"false"`
|
TcpStreamChannelTimeoutShow bool `yaml:"tcpStreamChannelTimeoutShow" json:"tcpStreamChannelTimeoutShow" default:"false"`
|
||||||
DisableCgroupIdResolution bool `yaml:"disableCgroupIdResolution" json:"disableCgroupIdResolution" default:"false"`
|
ResolutionStrategy string `yaml:"resolutionStrategy" json:"resolutionStrategy" default:"auto"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TapConfig struct {
|
type TapConfig struct {
|
||||||
|
@ -65,9 +65,8 @@ spec:
|
|||||||
{{- if ne .Values.tap.packetCapture "ebpf" }}
|
{{- if ne .Values.tap.packetCapture "ebpf" }}
|
||||||
- -disable-ebpf
|
- -disable-ebpf
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.tap.misc.disableCgroupIdResolution }}
|
- -resolution-strategy
|
||||||
- -disable-cgroup-id-resolution
|
- '{{ .Values.tap.misc.resolutionStrategy }}'
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.tap.debug }}
|
{{- if .Values.tap.debug }}
|
||||||
- -debug
|
- -debug
|
||||||
- -dumptracer
|
- -dumptracer
|
||||||
|
@ -122,7 +122,7 @@ tap:
|
|||||||
trafficSampleRate: 100
|
trafficSampleRate: 100
|
||||||
tcpStreamChannelTimeoutMs: 10000
|
tcpStreamChannelTimeoutMs: 10000
|
||||||
tcpStreamChannelTimeoutShow: false
|
tcpStreamChannelTimeoutShow: false
|
||||||
disableCgroupIdResolution: false
|
resolutionStrategy: auto
|
||||||
logs:
|
logs:
|
||||||
file: ""
|
file: ""
|
||||||
grep: ""
|
grep: ""
|
||||||
|
@ -452,6 +452,8 @@ spec:
|
|||||||
- -procfs
|
- -procfs
|
||||||
- /hostproc
|
- /hostproc
|
||||||
- -disable-ebpf
|
- -disable-ebpf
|
||||||
|
- -resolution-strategy
|
||||||
|
- 'auto'
|
||||||
image: 'docker.io/kubeshark/worker:v52.3.62'
|
image: 'docker.io/kubeshark/worker:v52.3.62'
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: sniffer
|
name: sniffer
|
||||||
|
Loading…
Reference in New Issue
Block a user