Don't remove base CNI plugins in test
This commit is contained in:
1 parent
6103595b9c
commit
dff14c19f8
1 file changed
+1
-1
@@ -8,7 +8,7 @@ tear_down_kubeadm() {
|
|||||||
run_on $host "sudo systemctl stop kubelet"
|
run_on $host "sudo systemctl stop kubelet"
|
||||||
rm_containers $host $(docker_on $host ps -aq)
|
rm_containers $host $(docker_on $host ps -aq)
|
||||||
run_on $host "test ! -d /var/lib/kubelet || sudo find /var/lib/kubelet -execdir findmnt -n -t tmpfs -o TARGET -T {} \; | uniq | xargs -r sudo umount"
|
run_on $host "test ! -d /var/lib/kubelet || sudo find /var/lib/kubelet -execdir findmnt -n -t tmpfs -o TARGET -T {} \; | uniq | xargs -r sudo umount"
|
||||||
run_on $host "sudo rm -r -f /etc/kubernetes /var/lib/kubelet /var/lib/etcd /etc/cni /opt/cni"
|
run_on $host "sudo rm -r -f /etc/kubernetes /var/lib/kubelet /var/lib/etcd /etc/cni /opt/cni/bin/*weave*"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user