-
Notifications
You must be signed in to change notification settings - Fork 21
rootless DRA deployment #150
Description
Hi Folks!
Has anyone tested in a rootless context? I'm testing with user space kubernetes usernetes which uses the kind base image with docker compose. I'm using podman compose, specifically. I've enabled the feature gates, and added the equivalent parameters for the kubelet to start. The kubelet starts OK, but then on the dranet install I'm not sure we can get around this:
We are running the rootless container with "privileged" and can see /dev/infiniband
# ls -l /dev/infiniband/
total 0
crw------- 1 nobody nogroup 231, 64 Jun 26 16:18 issm0
crw-rw-rw- 1 nobody nogroup 10, 121 Jun 26 16:18 rdma_cm
crw------- 1 nobody nogroup 231, 0 Jun 26 16:18 umad0
crw-rw-rw- 1 nobody nogroup 231, 192 Jun 26 16:18 uverbs0And that works to interact with UCX for Infiniband, however I suspect there is an underlying mknod call that goes to the kernel, is seen as my actual user (and the call would require real root) and then it fails. Are there any workarounds for this, or any success to deploy DRA/dranet in a rootless context?
Thank you!