Update node_reset.sh
This commit is contained in:
parent
d0e19aac90
commit
da3d2d3807
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user