Remove iptables on k3s-killall.sh

This commit is contained in:
Erik Wilson 2019-10-25 03:14:11 -07:00
parent 0966cea4ef
commit e3cd52a49e

View File

@ -500,6 +500,7 @@ done
ip link delete cni0
ip link delete flannel.1
rm -rf /var/lib/cni/
iptables-save | grep -v KUBE- | grep -v CNI- | iptables-restore
EOF
$SUDO chmod 755 ${BIN_DIR}/${KILLALL_K3S_SH}
$SUDO chown root:root ${BIN_DIR}/${KILLALL_K3S_SH}