Merge pull request #3931 from Madhu-1/fix-umount

Fix umount issue when rbd-nodeplugin restarts
This commit is contained in:
Travis Nielsen authored and GitHub committed 2019-09-23 22:21:52 -06:00
commit 4cbe8b5a3e
3 files changed
+1 -24

No files matched your search

@@ -79,7 +79,6 @@ spec:
- "--type=rbd"
- "--controllerserver=true"
- "--drivername={{ .DriverNamePrefix }}rbd.csi.ceph.com"
- "--containerized=true"
- "--pidlimit=-1"
- "--metricsport=9090"
- "--metricspath=/metrics"
@@ -89,8 +88,6 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: HOST_ROOTFS
value: "/rootfs"
- name: NODE_ID
valueFrom:
fieldRef:
@@ -107,8 +104,6 @@ spec:
mountPath: /csi
- mountPath: /dev
name: host-dev
- mountPath: /rootfs
name: host-rootfs
- mountPath: /sys
name: host-sys
- mountPath: /lib/modules
@@ -142,9 +137,6 @@ spec:
- name: host-dev
hostPath:
path: /dev
- name: host-rootfs
hostPath:
path: /
- name: host-sys
hostPath:
path: /sys
@@ -72,7 +72,6 @@ spec:
- "--type=rbd"
- "--controllerserver=true"
- "--drivername={{ .DriverNamePrefix }}rbd.csi.ceph.com"
- "--containerized=true"
- "--pidlimit=-1"
- "--metricsport=9090"
- "--metricspath=/metrics"
@@ -82,8 +81,6 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: HOST_ROOTFS
value: "/rootfs"
- name: NODE_ID
valueFrom:
fieldRef:
@@ -100,8 +97,6 @@ spec:
mountPath: /csi
- mountPath: /dev
name: host-dev
- mountPath: /rootfs
name: host-rootfs
- mountPath: /sys
name: host-sys
- mountPath: /lib/modules
@@ -135,9 +130,6 @@ spec:
- name: host-dev
hostPath:
path: /dev
- name: host-rootfs
hostPath:
path: /
- name: host-sys
hostPath:
path: /sys
@@ -54,7 +54,7 @@ spec:
- "--type=rbd"
- "--nodeserver=true"
- "--drivername={{ .DriverNamePrefix }}rbd.csi.ceph.com"
- "--containerized=true"
- "--containerized=false"
- "--pidlimit=-1"
- "--metricsport=9090"
- "--metricspath=/metrics"
@@ -64,8 +64,6 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: HOST_ROOTFS
value: "/rootfs"
- name: NODE_ID
valueFrom:
fieldRef:
@@ -88,8 +86,6 @@ spec:
mountPropagation: "Bidirectional"
- mountPath: /dev
name: host-dev
- mountPath: /rootfs
name: host-rootfs
- mountPath: /sys
name: host-sys
- mountPath: /lib/modules
@@ -139,9 +135,6 @@ spec:
- name: host-dev
hostPath:
path: /dev
- name: host-rootfs
hostPath:
path: /
- name: host-sys
hostPath:
path: /sys