kubeless/withdraw/node_reset.sh

8 lines
239 B
Bash
Raw Normal View History

2019-03-05 18:33:23 +01:00
#!/bin/bash
kubeadm reset --force
2019-04-24 13:29:03 +02:00
test -f /etc/default/kubelet && rm /etc/default/kubelet
2019-03-16 16:47:58 +01:00
iptables -F && iptables -t nat -F && iptables -t mangle -F && \
iptables -X && iptables -t nat -X && iptables -t mangle -X
2019-04-24 13:29:03 +02:00
systemctl restart docker