-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rdma-shared-device-plugin device isolation #93
Comments
Hi,
generallly rdma shared device plugin will mount rdma ULP devices to container (under /dev/infiniband) for the specified device. the "mlx5_0" rdma devices under |
The above is the log of the rdma-shared-dev-plugin pod. rdma_shared_device_a only specified one IB card, but in the Pod that was allocated the rdma_shared_device_a resource, four IB cards can be seen under
|
in the pod, what do you see under |
|
according to your feedback, rdma shared device plugin behaves as expected. the reason why you see all mlx_* devices under /sys/class/infiniband is because kernel does not namespace them. |
Thanks,Is there any way to make sure that a Pod can only see the allowed IB cards? |
I have 4 InfiniBand (IB) network cards on my server, and I have shared one of them with the following configuration:
However, when I check inside the Pod that has requested the rdma_shared_device_a resource, I can still see all 4 IB network cards. It seems like device isolation is not being achieved. What should I do?
The text was updated successfully, but these errors were encountered: