multus-cni/deployments
Nir Dothan 19f9283db4
Thick client: mount multus-conf-dir
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>
2025-05-05 17:45:52 +03:00
..
multus-daemonset-crio.yml OCPBUGS-28230: enforce termination message policy on all platform pods 2024-04-16 14:08:55 -04:00
multus-daemonset-thick.yml Thick client: mount multus-conf-dir 2025-05-05 17:45:52 +03:00
multus-daemonset.yml OCPBUGS-28230: enforce termination message policy on all platform pods 2024-04-16 14:08:55 -04:00