Fork me on GitHub

CNI Plugin not found

toc = true


Hyperkube image loaded from instead of will fail to load CNI plugin with the log message

Error adding network: failed to find plugin "calico" in path [/opt/calico/bin /opt/cni/bin]


Other than the image provided CoreOs, the one provided by Google does not contain the CNI plugins. They need to be loaded from the host disk and the necessary directory need to be mapped as devices into the kubelet container



--volume opt-cni-bin,kind=host,source=/opt/cni/bin     --mount volume=opt-cni-bin,target=/opt/cni/bin

to the RKT_RUN_ARGS environment variable.