From 5305eb37581234e4ae8c5e5328956d41d00e351b Mon Sep 17 00:00:00 2001 From: Vegetto Date: Tue, 4 May 2021 23:20:46 +0200 Subject: [PATCH] Unmount CSI plugin folder Fixed upstream - see https://github.com/k3s-io/k3s/issues/3264 --- templates/k3s-killall.sh.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/k3s-killall.sh.j2 b/templates/k3s-killall.sh.j2 index 3fd674b..fa2769d 100644 --- a/templates/k3s-killall.sh.j2 +++ b/templates/k3s-killall.sh.j2 @@ -53,6 +53,7 @@ do_unmount_and_remove() { do_unmount_and_remove '/run/k3s' do_unmount_and_remove '{{ k3s_runtime_config['data-dir'] | default(k3s_data_dir) }}' do_unmount_and_remove '/var/lib/kubelet/pods' +do_unmount_and_remove '/var/lib/kubelet/plugins' do_unmount_and_remove '/run/netns/cni-' # Remove CNI namespaces