Skip to content
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
Open
@brb

Description

@brb

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions