mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Merge pull request #958 from erikwilson/remove-iptables-killall
Remove iptables on k3s-killall.sh
This commit is contained in:
commit
eb867ab624
@ -500,6 +500,7 @@ done
|
|||||||
ip link delete cni0
|
ip link delete cni0
|
||||||
ip link delete flannel.1
|
ip link delete flannel.1
|
||||||
rm -rf /var/lib/cni/
|
rm -rf /var/lib/cni/
|
||||||
|
iptables-save | grep -v KUBE- | grep -v CNI- | iptables-restore
|
||||||
EOF
|
EOF
|
||||||
$SUDO chmod 755 ${BIN_DIR}/${KILLALL_K3S_SH}
|
$SUDO chmod 755 ${BIN_DIR}/${KILLALL_K3S_SH}
|
||||||
$SUDO chown root:root ${BIN_DIR}/${KILLALL_K3S_SH}
|
$SUDO chown root:root ${BIN_DIR}/${KILLALL_K3S_SH}
|
||||||
|
Loading…
Reference in New Issue
Block a user