From 6e7ecf89ea3f486df77f95a8717cc8e2e9964350 Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Thu, 19 Oct 2023 19:47:39 +0300 Subject: [PATCH] remove pod-manifests dir in killall script Signed-off-by: galal-hussein --- bundle/bin/rke2-killall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/bin/rke2-killall.sh b/bundle/bin/rke2-killall.sh index 3f3e3bb3f8..ac5784b488 100755 --- a/bundle/bin/rke2-killall.sh +++ b/bundle/bin/rke2-killall.sh @@ -89,7 +89,7 @@ if [ -d /sys/class/net/nodelocaldns ]; then ip link delete nodelocaldns fi -rm -rf /var/lib/cni/ /var/log/pods/ /var/log/containers +rm -rf /var/lib/cni/ /var/log/pods/ /var/log/containers /var/lib/rancher/rke2/agent/pod-manifests # Delete iptables created by CNI plugins or Kubernetes (kube-proxy) iptables-save | grep -v KUBE- | grep -v CNI- | grep -v cali- | grep -v cali: | grep -v CILIUM_ | grep -v flannel | iptables-restore