Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

rootless DRA deployment #150

@vsoch

Description

@vsoch

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:

Image

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 uverbs0

And 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions