Update node_reset.sh

This commit is contained in:
Torma Kristóf 2019-03-16 16:47:58 +01:00 committed by GitHub
parent d0e19aac90
commit da3d2d3807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,6 @@
#!/bin/bash #!/bin/bash
kubeadm reset --force kubeadm reset --force
docker system prune -a iptables -F && iptables -t nat -F && iptables -t mangle -F && \
docker stop $(docker ps -a -q) iptables -X && iptables -t nat -X && iptables -t mangle -X
docker rm $(docker ps -a -q) service docker restart
docker rmi $(docker images -a -q)
#iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X