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