propagate host root to the tracer (#1613)

This commit is contained in:
Ilya Gavrilov
2024-09-23 17:30:19 +02:00
committed by GitHub
parent fdaef243e4
commit 16d779449a
2 changed files with 14 additions and 0 deletions

View File

@@ -249,6 +249,10 @@ spec:
- mountPath: /etc/os-release
name: os-release
readOnly: true
- mountPath: /hostroot
mountPropagation: HostToContainer
name: root
readOnly: true
{{- end }}
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
@@ -281,6 +285,9 @@ spec:
- hostPath:
path: /etc/os-release
name: os-release
- hostPath:
path: /
name: root
- name: data
{{- if .Values.tap.persistentStorage }}
persistentVolumeClaim:

View File

@@ -611,6 +611,10 @@ spec:
- mountPath: /etc/os-release
name: os-release
readOnly: true
- mountPath: /hostroot
mountPropagation: HostToContainer
name: root
readOnly: true
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
serviceAccountName: kubeshark-service-account
@@ -642,6 +646,9 @@ spec:
- hostPath:
path: /etc/os-release
name: os-release
- hostPath:
path: /
name: root
- name: data
emptyDir:
sizeLimit: 5000Mi