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
1 changed files with 2 additions and 1 deletions

View File

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