Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

what the meaning of configure ib0 as the parent netdevice? #20

Open
tingweiwu opened this issue Mar 30, 2019 · 3 comments
Open

what the meaning of configure ib0 as the parent netdevice? #20

tingweiwu opened this issue Mar 30, 2019 · 3 comments

Comments

@tingweiwu
Copy link

hi ~

I use k8s-rdma-sriov-dev-plugin with HCA mode and I haven't config ib0 as the parent netdevice.
so what the meaning of configure ib0 as the parent netdevice? additionaly, my kubernetes cni is calico.

in the issue #11 I have deployed k8s-rdma-sriov-dev-plugin successfully and can use radm in the pod.

Appreciate if you can give some suggestions

@tingweiwu
Copy link
Author

@paravmellanox I saw your reply in this issue
https://github.com/Mellanox/k8s-rdma-sriov-dev-plugin/issues/16#issuecomment-434556494
if you are using shared mode of this device plugin, and intent to use overlay network such as calico, contiv etc CNI, than specify ib0 as parent interface in one of those plugin of choice.

how to specify ib0 as parent interface in one of those plugin ?

@paravmellanox
Copy link
Collaborator

@tingweiwu you need to look at calico configuration on how to specify a netdevice.

calico documentation can be found here: https://docs.projectcalico.org/v2.0/reference/cni-plugin/configuration

@xieydd
Copy link

xieydd commented Jun 28, 2019

@paravmellanox Can you post an example?
I found my calico-node log show:

Using autodetected IPv4 address on interface ib0

Is it already right?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants