Package Details: cni-bin 1.0.1-2

Git Clone URL: https://aur.archlinux.org/cni-bin.git (read-only, click to copy)
Package Base: cni-bin
Description: Standardised container networking interface
Upstream URL: https://www.cni.dev/
Keywords: container interface kubernetes networking
Licenses: Apache
Conflicts: cni, cni-plugins
Provides: cni=1.0.1
Submitter: GeorgeRaven
Maintainer: GeorgeRaven
Last Packager: GeorgeRaven
Votes: 1
Popularity: 0.025370
First Submitted: 2021-05-31 14:23
Last Updated: 2021-09-08 12:10

Dependencies (0)

Required by (0)

Sources (1)

Pinned Comments

GeorgeRaven commented on 2021-09-08 12:21

Note for Kubernetes users

Please note, while this package installs the container networking binaries in the most recent location /opt/cni/bin and for compatibility the old location /usr/lib/cni you will need to check that kubelet is being pointed to the correct location preferably the newer /opt/cni/bin location. The most typical way to provide this argument to kubelet is through the kubelet.env file usually located in /etc/kubernetes/kubelet.env (if using kubeadm) if it does not exist you can create it assuming this is your correct Kubernetes directory (kubeadm uses /etc/kubernetes by default).

example kubelet.env files

The bog standard file:

# Kubernetes kubelet arguments
#
# The KUBELET_ARGS environment variable is used to provide flags and options to
# kubelet when running kubelet.service.
# See `man 1 kubelet` or `kubelet --help` for further information.
#
# NOTE: When using kubeadm to bootstrap a cluster KUBELET_ARGS will be appended
# to the kubeadm specific environment variables.
KUBELET_ARGS=--cni-bin-dir=/usr/lib/cni

However you may want to modify this to suit your specific docker installation, and update the args to be in the newer directory:

KUBELET_ARGS=--cni-bin-dir=/opt/cni/bin,--cgroup-driver="systemd"

Latest Comments

GeorgeRaven commented on 2021-09-08 12:21

Note for Kubernetes users

Please note, while this package installs the container networking binaries in the most recent location /opt/cni/bin and for compatibility the old location /usr/lib/cni you will need to check that kubelet is being pointed to the correct location preferably the newer /opt/cni/bin location. The most typical way to provide this argument to kubelet is through the kubelet.env file usually located in /etc/kubernetes/kubelet.env (if using kubeadm) if it does not exist you can create it assuming this is your correct Kubernetes directory (kubeadm uses /etc/kubernetes by default).

example kubelet.env files

The bog standard file:

# Kubernetes kubelet arguments
#
# The KUBELET_ARGS environment variable is used to provide flags and options to
# kubelet when running kubelet.service.
# See `man 1 kubelet` or `kubelet --help` for further information.
#
# NOTE: When using kubeadm to bootstrap a cluster KUBELET_ARGS will be appended
# to the kubeadm specific environment variables.
KUBELET_ARGS=--cni-bin-dir=/usr/lib/cni

However you may want to modify this to suit your specific docker installation, and update the args to be in the newer directory:

KUBELET_ARGS=--cni-bin-dir=/opt/cni/bin,--cgroup-driver="systemd"