diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index 6d7419cd5..e41ab3bd4 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -162,10 +162,14 @@ spec: - /hostproc {{- if ne .Values.tap.packetCapture "ebpf" }} - -disable-ebpf - {{- end }} + {{- end }} {{- if .Values.tap.debug }} - -debug {{- end }} + {{- if .Values.tap.misc.profile }} + - -port + - '{{ add .Values.tap.proxy.worker.srvPort 1 }}' + {{- end }} {{- if .Values.tap.docker.overrideTag.worker }} image: '{{ .Values.tap.docker.registry }}/worker:{{ .Values.tap.docker.overrideTag.worker }}{{ include "kubeshark.dockerTagDebugVersion" . }}' {{ else }} @@ -182,6 +186,8 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace + - name: PROFILING_ENABLED + value: '{{ .Values.tap.misc.profile }}' resources: limits: cpu: {{ .Values.tap.resources.tracer.limits.cpu }} diff --git a/manifests/complete.yaml b/manifests/complete.yaml index 286973b5d..740adfa34 100644 --- a/manifests/complete.yaml +++ b/manifests/complete.yaml @@ -567,6 +567,8 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace + - name: PROFILING_ENABLED + value: 'false' resources: limits: cpu: 750m