Mellanox / k8s-rdma-sriov-dev-plugin

Kubernetes Rdma SRIOV device plugin
Apache License 2.0
109 stars 27 forks source link

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

Open tingweiwu opened 5 years ago

tingweiwu commented 5 years ago

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 commented 5 years ago

@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 commented 5 years ago

@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 commented 5 years ago

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

Using autodetected IPv4 address on interface ib0

Is it already right?