diff --git a/withdraw/node_reset.sh b/withdraw/node_reset.sh index 1aa2cd4..a807dad 100644 --- a/withdraw/node_reset.sh +++ b/withdraw/node_reset.sh @@ -1,8 +1,6 @@ #!/bin/bash kubeadm reset --force -docker system prune -a -docker stop $(docker ps -a -q) -docker rm $(docker ps -a -q) -docker rmi $(docker images -a -q) -#iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X +iptables -F && iptables -t nat -F && iptables -t mangle -F && \ +iptables -X && iptables -t nat -X && iptables -t mangle -X +service docker restart