mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-01 10:36:55 +00:00
🔨 Fix the issues in worker DaemonSet
This commit is contained in:
@@ -99,10 +99,8 @@ spec:
|
|||||||
- mountPath: /sys
|
- mountPath: /sys
|
||||||
name: sys
|
name: sys
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- if .Values.tap.persistentstorage }}
|
|
||||||
- mountPath: /app/data
|
- mountPath: /app/data
|
||||||
name: kubeshark-persistent-volume
|
name: data
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.tap.tls }}
|
{{- if .Values.tap.tls }}
|
||||||
- command:
|
- command:
|
||||||
- ./tracer
|
- ./tracer
|
||||||
@@ -124,13 +122,6 @@ spec:
|
|||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: kubeshark-secret
|
name: kubeshark-secret
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: {{ .Values.tap.resources.worker.limits.cpu }}
|
|
||||||
memory: {{ .Values.tap.resources.worker.limits.memory }}
|
|
||||||
requests:
|
|
||||||
cpu: {{ .Values.tap.resources.worker.requests.cpu }}
|
|
||||||
memory: {{ .Values.tap.resources.worker.requests.memory }}
|
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
add:
|
add:
|
||||||
@@ -147,10 +138,8 @@ spec:
|
|||||||
- mountPath: /sys
|
- mountPath: /sys
|
||||||
name: sys
|
name: sys
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- if .Values.tap.persistentstorage }}
|
|
||||||
- mountPath: /app/data
|
- mountPath: /app/data
|
||||||
name: kubeshark-persistent-volume
|
name: data
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
@@ -177,8 +166,8 @@ spec:
|
|||||||
- hostPath:
|
- hostPath:
|
||||||
path: /sys
|
path: /sys
|
||||||
name: sys
|
name: sys
|
||||||
|
- name: data
|
||||||
{{- if .Values.tap.persistentstorage }}
|
{{- if .Values.tap.persistentstorage }}
|
||||||
- name: kubeshark-persistent-volume
|
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: kubeshark-persistent-volume-claim
|
claimName: kubeshark-persistent-volume-claim
|
||||||
{{- else }}
|
{{- else }}
|
||||||
|
Reference in New Issue
Block a user