knative-report/withdraw/node_reset.sh

8 lines
239 B
Bash
Raw Normal View History

2019-10-02 18:27:25 +02:00
#!/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
systemctl restart docker