mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-06-23 22:37:06 +00:00
Currently, the default CNI config dir is /etc/cni/multus/net.d [1]. However, pods do not mount this hostPath. This issue only occurs when a delegate network-attachment-definition has no spec, and it therefore needs to be loaded from disk[2]. For example, when deploying Istio-cni in multus mode, the deployment creates an empty Istio-cni NAD in default namespace, while the actual config is deployed on disk. CmdAdd fails with the following error message: GetNetworkDelegates: failed getting the delegate: GetCNIConfig: err in GetCNIConfigFromFile: No networks found in /etc/cni/multus/net.d [[1]](https://github.com/k8snetworkplumbingwg/multus-cni/blob/v4.2.0/pkg/types/conf.go#L38) [[2]](https://github.com/k8snetworkplumbingwg/multus-cni/blob/v4.2.0/pkg/k8sclient/k8sclient.go#L506) Signed-off-by: Nir Dothan <ndothan@redhat.com> |
||
---|---|---|
.. | ||
multus-daemonset-crio.yml | ||
multus-daemonset-thick.yml | ||
multus-daemonset.yml |