Using custom network plugin
If you want to use something different and self-managed than default flannel you can set flannel backend to none, which will remove flannel completely:
Additionally, if you want to use something with eBPF dataplane enabled (calico, cilium) you might need to disable kube-proxy and mount bpffs filesystem on host node: