#!/bin/bash #author: tmade #version: 1.2 HOME="/home/kubernetes" sudo kubeadm reset -f iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X rm -r ${HOME}/.kube 2> /dev/null