Enhance NVIDIA DRA driver and change the two pods to use one GPU with timeslice - #338
Open
ronaldosaheki wants to merge 3 commits into
Open
Enhance NVIDIA DRA driver and change the two pods to use one GPU with timeslice#338ronaldosaheki wants to merge 3 commits into
ronaldosaheki wants to merge 3 commits into
Conversation
- Updated `nvidia-dra-driver.yaml` to enable TimeSlicingSettings and MPSSupport. - Introduced `timeslicing-claim.yaml` to define a shared ResourceClaim for GPU time-slicing. - Modified `timeslicing-pod.yaml` to reference the new shared ResourceClaim. - Added `timeslicing-podgroup.yaml` to support PodGroup scheduling with time-slicing. - Expanded documentation on dynamic resource allocation to include time-slicing use cases and configurations.
- Added a newline at the end of the `nvidia-dra-driver.yaml` file to comply with best practices for YAML formatting.
- Added a new section to verify MPS deployment, including steps to check pod status, resource claims, device sharing strategy, MPS control daemon, CUDA availability in containers, workload processes, and GPU usage. - Updated existing commands for clarity and accuracy, ensuring users can effectively monitor and validate MPS functionality in their Kubernetes environment.
erezzarum
reviewed
Jun 3, 2026
| operator: Exists | ||
| effect: NoSchedule | ||
|
|
||
| featureGates: |
Contributor
There was a problem hiding this comment.
can you validate if this is still needed when using the nvidia dra driver from k8s sig?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
nvidia-dra-driver.yamlto enable TimeSlicingSettings and MPSSupport.timeslicing-claim.yamlto define a shared ResourceClaim for GPU time-slicing.timeslicing-pod.yamlto reference the new shared ResourceClaim.timeslicing-podgroup.yamlto support PodGroup scheduling with time-slicing.Motivation
More
website/docsorwebsite/blogsection for this featurepre-commit run -awith this PR. Link for installing pre-commit locallyFor Moderators
Additional Notes
resources created after apply:
checking resourceclaim used by both pods:
checking both pods using the same gpu:
pre-commit run:
MPS check: