mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-23 06:48:47 +00:00
✨ Use emptyDir
as the default type of data
volume
This commit is contained in:
parent
48adf86b25
commit
e1106e25c4
@ -58,11 +58,6 @@ func tap() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if !config.Config.Tap.PersistentStorage {
|
|
||||||
config.Config.Tap.StorageLimit = "200Mi"
|
|
||||||
log.Warn().Msg("Storage limit cannot be modified while persistentstorage is set to false!")
|
|
||||||
}
|
|
||||||
|
|
||||||
log.Info().
|
log.Info().
|
||||||
Str("limit", config.Config.Tap.StorageLimit).
|
Str("limit", config.Config.Tap.StorageLimit).
|
||||||
Msg(fmt.Sprintf("%s will store the traffic up to a limit (per node). Oldest TCP/UDP streams will be removed once the limit is reached.", misc.Software))
|
Msg(fmt.Sprintf("%s will store the traffic up to a limit (per node). Oldest TCP/UDP streams will be removed once the limit is reached.", misc.Software))
|
||||||
|
@ -225,4 +225,7 @@ spec:
|
|||||||
{{- if .Values.tap.persistentstorage }}
|
{{- if .Values.tap.persistentstorage }}
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: kubeshark-persistent-volume-claim
|
claimName: kubeshark-persistent-volume-claim
|
||||||
|
{{- else }}
|
||||||
|
emptyDir:
|
||||||
|
sizeLimit: {{ .Values.tap.storagelimit }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user