mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-20 09:26:00 +00:00
✨ Add DisableCgroupIdResolution
field to MiscConfig
struct
This commit is contained in:
parent
af2086a54d
commit
c2b73025f3
@ -154,6 +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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TapConfig struct {
|
type TapConfig struct {
|
||||||
|
@ -62,6 +62,9 @@ spec:
|
|||||||
{{- if .Values.tap.kernelModule.enabled }}
|
{{- if .Values.tap.kernelModule.enabled }}
|
||||||
- -kernel-module
|
- -kernel-module
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.tap.misc.disableCgroupIdResolution }}
|
||||||
|
- -disable-cgroup-id-resolution
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.tap.debug }}
|
{{- if .Values.tap.debug }}
|
||||||
- -debug
|
- -debug
|
||||||
- -dumptracer
|
- -dumptracer
|
||||||
|
@ -122,8 +122,10 @@ tap:
|
|||||||
trafficSampleRate: 100
|
trafficSampleRate: 100
|
||||||
tcpStreamChannelTimeoutMs: 10000
|
tcpStreamChannelTimeoutMs: 10000
|
||||||
tcpStreamChannelTimeoutShow: false
|
tcpStreamChannelTimeoutShow: false
|
||||||
|
disableCgroupIdResolution: false
|
||||||
logs:
|
logs:
|
||||||
file: ""
|
file: ""
|
||||||
|
grep: ""
|
||||||
kube:
|
kube:
|
||||||
configPath: ""
|
configPath: ""
|
||||||
context: ""
|
context: ""
|
||||||
|
@ -244,6 +244,7 @@ rules:
|
|||||||
- extensions
|
- extensions
|
||||||
- apps
|
- apps
|
||||||
resources:
|
resources:
|
||||||
|
- nodes
|
||||||
- pods
|
- pods
|
||||||
- services
|
- services
|
||||||
- endpoints
|
- endpoints
|
||||||
@ -600,12 +601,12 @@ spec:
|
|||||||
- name: lib-modules
|
- name: lib-modules
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /lib/modules
|
path: /lib/modules
|
||||||
- name: data
|
|
||||||
emptyDir:
|
|
||||||
sizeLimit: 500Mi
|
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /etc/os-release
|
path: /etc/os-release
|
||||||
name: os-release
|
name: os-release
|
||||||
|
- name: data
|
||||||
|
emptyDir:
|
||||||
|
sizeLimit: 500Mi
|
||||||
---
|
---
|
||||||
# Source: kubeshark/templates/04-hub-deployment.yaml
|
# Source: kubeshark/templates/04-hub-deployment.yaml
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
Loading…
Reference in New Issue
Block a user