How do I completely remove cilium from Ubuntu 18?

hi,you can try check this directory of each node

/etc/cni/net.d/05-cilium.conf

and delete this file:

05-cilium.conf

e.g:

rm /etc/cni/net.d/05-cilium.conf

Finally, restart the flannel daemonsets

kubectl rollout restart daemonsets kube-flannel-ds-amd64 -nkube-system