Flannel does not assign IP for pod after node reboot

I have problem with my k8s installation, especially on flannel for the network plugin. For the container runtime i using docker with cri-dockerd. I only use one node for learning purpose
Everything looks good and installation has no issue. I have cni , flannel , veth and docker network interface. My pod following pod-cidr that i’ve been setup through kubeadm init.
But when i restarting the node, my pod following cidr from docker following the veth. Flannel interface status become unknown and the cni0 interface is missing.
Is there wrong step that I missed with the installation ?

Hi @novferdianto

As you might be aware support for Docker as CRI was removed long ago. Whenever a Pod is created CRI is the one that invokes the CNI, which then assigns them the IP from the Pod CIDR defined earlier. So, I guess it would help if you change and configure your CRI to Contained as outlined here.

I hope that following the above guide might resolve your issue.

Regards.