Skip to content

Commit

Permalink
remove pod-manifests dir in killall script
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <[email protected]>
  • Loading branch information
galal-hussein committed Oct 19, 2023
1 parent 66d5e48 commit 6e7ecf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/bin/rke2-killall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e7ecf8

Please sign in to comment.