Remove mount /var/run from host to avoid DNS lookup failure

The host's /var/run/nscd leaking into the pod and it caused the DNS
lookup failure.

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
This commit is contained in:
JenTing Hsiao 2021-01-27 09:45:36 +08:00 committed by Sheng Yang
parent 7533ae2fe2
commit 4d48b11f6b

View File

@ -45,9 +45,6 @@ spec:
mountPath: /host/dev/
- name: proc
mountPath: /host/proc/
- name: varrun
mountPath: /var/run/
mountPropagation: Bidirectional
- name: longhorn
mountPath: /var/lib/longhorn/
mountPropagation: Bidirectional
@ -75,9 +72,6 @@ spec:
- name: proc
hostPath:
path: /proc/
- name: varrun
hostPath:
path: /var/run/
- name: longhorn
hostPath:
path: /var/lib/longhorn/