Update node_reset.sh

This commit is contained in:
Torma Kristóf 2019-04-24 13:29:03 +02:00 committed by GitHub
parent f13a5d9ab5
commit f4d971f3e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
kubeadm reset --force kubeadm reset --force
test -f /etc/default/kubelet && rm /etc/default/kubelet
iptables -F && iptables -t nat -F && iptables -t mangle -F && \ iptables -F && iptables -t nat -F && iptables -t mangle -F && \
iptables -X && iptables -t nat -X && iptables -t mangle -X iptables -X && iptables -t nat -X && iptables -t mangle -X
service docker restart systemctl restart docker