mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-03 11:29:21 +00:00
Add Profile
field to MiscConfig
struct
This commit is contained in:
parent
d6143f5a6a
commit
75931d9123
@ -155,6 +155,7 @@ type MiscConfig struct {
|
|||||||
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"`
|
||||||
ResolutionStrategy string `yaml:"resolutionStrategy" json:"resolutionStrategy" default:"auto"`
|
ResolutionStrategy string `yaml:"resolutionStrategy" json:"resolutionStrategy" default:"auto"`
|
||||||
|
Profile bool `yaml:"profile" json:"profile" default:"false"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TapConfig struct {
|
type TapConfig struct {
|
||||||
|
@ -94,6 +94,8 @@ spec:
|
|||||||
value: '{{ .Values.tap.misc.tcpStreamChannelTimeoutShow }}'
|
value: '{{ .Values.tap.misc.tcpStreamChannelTimeoutShow }}'
|
||||||
- name: KUBESHARK_CLOUD_API_URL
|
- name: KUBESHARK_CLOUD_API_URL
|
||||||
value: 'https://api.kubeshark.co'
|
value: 'https://api.kubeshark.co'
|
||||||
|
- name: PROFILING_ENABLED
|
||||||
|
value: '{{ .Values.tap.misc.profile }}'
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: {{ .Values.tap.resources.sniffer.limits.cpu }}
|
cpu: {{ .Values.tap.resources.sniffer.limits.cpu }}
|
||||||
|
@ -123,6 +123,7 @@ tap:
|
|||||||
tcpStreamChannelTimeoutMs: 10000
|
tcpStreamChannelTimeoutMs: 10000
|
||||||
tcpStreamChannelTimeoutShow: false
|
tcpStreamChannelTimeoutShow: false
|
||||||
resolutionStrategy: auto
|
resolutionStrategy: auto
|
||||||
|
profile: false
|
||||||
logs:
|
logs:
|
||||||
file: ""
|
file: ""
|
||||||
grep: ""
|
grep: ""
|
||||||
|
@ -476,6 +476,8 @@ spec:
|
|||||||
value: 'false'
|
value: 'false'
|
||||||
- name: KUBESHARK_CLOUD_API_URL
|
- name: KUBESHARK_CLOUD_API_URL
|
||||||
value: 'https://api.kubeshark.co'
|
value: 'https://api.kubeshark.co'
|
||||||
|
- name: PROFILING_ENABLED
|
||||||
|
value: 'false'
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 750m
|
cpu: 750m
|
||||||
|
Loading…
Reference in New Issue
Block a user