Merge pull request #2904 from mirwan/var_lib_kubelet_should_not_be_unmounted_when_having_its_own_partition

Only subdirectories in /var/lib/kubelet should be unmounted at reset time
This commit is contained in:
Rong Zhang 2018-08-08 15:00:54 +08:00 committed by GitHub
commit 94ae945bea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@
- docker
- name: reset | gather mounted kubelet dirs
shell: mount | grep /var/lib/kubelet | awk '{print $3}' | tac
shell: mount | grep /var/lib/kubelet/ | awk '{print $3}' | tac
check_mode: no
register: mounted_dirs
tags: