Files
kubernetes/cmd
Ed Bartosh 48a961cfa2 kubeadm: properly umount dirs in /var/lib/kubelet
'kubeadm reset' uses incorrect way of unmounting /var/lib/kubelet
directories. It queries /proc/mounts for /var/lib/kubelet mount point.
If /var/lib/kubelet directory is also mounted it makes 'kubelet reset'
to unmount it too, which is incorrect. It also makes it fail as it
can't unmount /var/lib/kubelet before unmounting mounts inside it.

Fixed by querying /var/lib/kubelet/ instead of /var/lib/kubelet.
This should exclude /var/lib/kubelet from the query results even if
it's mounted.

Fixes: kubernetes/kubeadm#1294
2018-12-03 18:45:52 +02:00
..
2018-11-21 17:39:15 +08:00
2018-05-04 17:02:20 -04:00
2018-06-22 16:22:57 -07:00
2018-11-10 07:50:31 -05:00
2018-05-04 17:02:20 -04:00
2018-11-10 07:50:31 -05:00
2018-02-15 12:01:00 -08:00