Add delayed dissection controller configuration (#1818)

* Allow managing jobs in kubeshark namespaces

* Extend with dissector image

* make dissection job resources configurable
This commit is contained in:
Volodymyr Stoiko
2026-01-06 21:56:53 +02:00
committed by GitHub
parent 3b315eb89f
commit 1fd9dffc60
5 changed files with 37 additions and 0 deletions

View File

@@ -86,3 +86,9 @@ rules:
verbs:
- create
- get
- apiGroups:
- batch
resources:
- jobs
verbs:
- "*"

View File

@@ -40,6 +40,18 @@ spec:
- "{{ if hasKey .Values.tap.capture "stopAfter" }}{{ .Values.tap.capture.stopAfter }}{{ else }}5m{{ end }}"
- -snapshot-size-limit
- '{{ .Values.tap.snapshots.storageSize }}'
{{- if .Values.tap.delayedDissection.image }}
- -dissector-image
- '{{ .Values.tap.delayedDissection.image }}'
{{- end }}
{{- if .Values.tap.delayedDissection.cpu }}
- -dissector-cpu
- '{{ .Values.tap.delayedDissection.cpu }}'
{{- end }}
{{- if .Values.tap.delayedDissection.memory }}
- -dissector-memory
- '{{ .Values.tap.delayedDissection.memory }}'
{{- end }}
{{- if .Values.tap.gitops.enabled }}
- -gitops
{{- end }}

View File

@@ -32,6 +32,10 @@ tap:
enabled: true
storageSize: 1Gi
dbMaxSize: 500Mi
delayedDissection:
image: kubeshark/worker:master
cpu: "1"
memory: 2Gi
snapshots:
storageClass: ""
storageSize: 20Gi