Merge pull request #958 from erikwilson/remove-iptables-killall

Remove iptables on k3s-killall.sh
pull/967/head
Erik Wilson 2019-10-26 13:32:35 -07:00 committed by GitHub
commit eb867ab624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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}