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