Safe Mounting of /dev/gdrdrv in a kubernetes environment - HostPath appears to fail

Open
#291 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
kubernetes, linux

Research direction

Start by reading the linked issue comment and reviewing the reported Kubernetes HostPath configuration for /dev/gdrdrv. Determine the supported way to expose this device in Kubernetes, then document or verify a working recommendation and the conditions under which the reported File mount fails.

Written by the indexing model from the issue text.

Description

Hi @pakmarkthub, sorry for the tag but it's related to this one:

https://github.com/NVIDIA/gdrcopy/issues/278#issuecomment-1736701644

Is there a recommend what to enable gdrcopy within a Kubernetes environment, I'm trying to use the HostPath method as a file but this looks to be incorrect.

  host-gdrcopy:
    Type:          HostPath (bare host directory volume)
    Path:          /dev/gdrdrv
    HostPathType:  File

I was hoping I'm not the first person to try and do this?

Thanks

Dominant language
C
Stars
1.4k
Forks
198
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/gdrcopy

All issues in NVIDIA/gdrcopy

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.