multus-cni
multus-cni copied to clipboard
Added Multus Conf Dir to AutoConfig
Feature:
- Added cli arg to pass "confDir" to autoconfig
This is required when using distro like RKE2/K3s which has different path for cni like multus. These distro use path: /etc/cni/net.d/ and currently with autoconfig mode uses "/etc/cni/multus/".
The current fix for different is to use a sym link with autoconfig mode. ln -s /etc/cni/net.d/ /etc/cni/multus/
Signed-off-by: [email protected]
First, thank you for the PR, @naeemarsalan !
The current fix for different is to use a sym link with autoconfig mode. ln -s /etc/cni/net.d/ /etc/cni/multus/
I'm wondering why you mentioned such symbolic link because multus-cni (entrypoint.sh) does not do such things.
Is there some deployments that does ln -s /etc/cni/net.d/ /etc/cni/multus/
?
First, thank you for the PR, @naeemarsalan !
The current fix for different is to use a sym link with autoconfig mode. ln -s /etc/cni/net.d/ /etc/cni/multus/
I'm wondering why you mentioned such symbolic link because multus-cni (entrypoint.sh) does not do such things. Is there some deployments that does
ln -s /etc/cni/net.d/ /etc/cni/multus/
?
This was a suggested fix if someone else came across the same problem. When using Multus with different K8s (k3s/rke2) this can be quite frustrating, as you are not sure where "/etc/cni/multus/" is coming from.
This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.