Set proper path for MPS shm dir mount#978
Conversation
|
Good catch! The |
visheshtanksale
left a comment
There was a problem hiding this comment.
Thanks for looking into this.
|
I have another idea for fixing this issue, and This will mirror the logic in the template https://github.com/NVIDIA/k8s-dra-driver-gpu/blob/476b4787f1f75bb4a9c0b8e20604125536514b8c/templates/mps-control-daemon.tmpl.yaml#L32 If you think that it is better idea I can test it tomorrow. |
|
Yes, validating whether |
|
Unknown CLA label state. Rechecking for CLA labels. Send feedback to sig-contributor-experience at kubernetes/community. /check-cla |
5dd6ae8 to
91329cb
Compare
|
@shivamerla approach was changed and it is ready for review. |
91329cb to
aa57f8f
Compare
|
@shivamerla this is now ready for next review iteration |
|
@dims please review and provide approval as well. |
|
thanks for the very focused fix @kasia-kujawa |
|
/approve |
|
@kasia-kujawa do you mind fixing up the linting issue? |
Signed-off-by: Katarzyna Kujawa <katarzyna@cast.ai>
aa57f8f to
da1274b
Compare
@dims I added the missing dot, hope that now it will be ok 🤞 😄 |
|
/approve 🤞🏾 @kasia-kujawa :) |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, kasia-kujawa, shivamerla The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #974
This unblocks usage of MPS on GPUs which support pre-Volta MPS (e.g. NVIDIA P4) on GKE clusters and it doesn't change default configuration.
The MPS control daemon template hardcoded /driver-root/dev/shm as the container mount path for the MPS
shmdirectory. This works when the daemon runs inside a chroot (standard NVIDIA DRA driver install, GPU Operator),but fails on GKE COS where the daemon runs directly in the container namespace, expecting /dev/shm.
Change was also tested on NVIDIA T4 which supports Volta MPS.