Hi, could you please let me know how to identify the CNL plugin directory `root . . .

Subba:
Hi, could you please let me know how to identify the CNL plugin directory

root@controlplane:~# ps -aux | grep kubelet | grep cni
root 4793 0.0 0.0 4150812 105072 ? Ssl 04:27 0:55 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --config=/var/lib/kubelet/config.yaml --network-plugin=cni --pod-infra-container-image=<http://k8s.gcr.io/pause:3.2|k8s.gcr.io/pause:3.2>
root@controlplane:~#

Aditya Pratap Bhuyan:

use below
ps aux| grep "network-plugin="

Phani M:
@Subba if you are running K8s version v1.20.x or higher, the CNI plugin directory may be already baked in the code of kubelet with the default path as /etc/cni/net.d and not visible when you grep in ps aux

Try to do ls in the above directory to find which CNI is being used