From 4d48b11f6b2fc255043a608e6e0c46b3aa7f74dd Mon Sep 17 00:00:00 2001 From: JenTing Hsiao Date: Wed, 27 Jan 2021 09:45:36 +0800 Subject: [PATCH] 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 --- chart/templates/daemonset-sa.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/chart/templates/daemonset-sa.yaml b/chart/templates/daemonset-sa.yaml index e407935..ef3fb8c 100644 --- a/chart/templates/daemonset-sa.yaml +++ b/chart/templates/daemonset-sa.yaml @@ -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/