This repository was archived by the owner on Jun 20, 2024. It is now read-only.
This repository was archived by the owner on Jun 20, 2024. It is now read-only.
Detect dir for CNI bins #3333
Open
Description
A user on Fedora 28 reported that kubelet is not able to locate the weave-net
CNI bin. The relevant params of the kubelet: --network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/usr/libexec/cni
set by kubeadm v1.10.1 reveals a different location than weave setup-cni
expects (/opt/cni/bin
).
It seems that the directory is a distro specific: https://github.com/projectcalico/cni-plugin/issues/342
We should check multiple dirs for installation, i.e. /usr/libexec/cni
and/opt/cni/bin
.
Activity