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