NVIDIA / NVIDIA/nvidia-container-toolkit

[Feature]: Regenerate CDI specs on MIG device changes

Open
#1,828 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature lifecycle/frozen needs-triage
Dominant language
Go
Stars
4.6k
Forks
592
Avg merge
1d 33m
Merged PRs (30d)
61

Description

The nvidia-cdi-refresh.service responds to driver changes, but does not respond to MIG device reconfiguration. This means that there are no valid CDI specs for MIG devices when using native CDI support in Docker or Podman, for example.

See also https://github.com/moby/moby/issues/51942

Contributor guide

Open the contributing guide

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.

Research direction

Start with nvidia-cdi-refresh.service and the existing response to driver changes. Trace how MIG device reconfiguration is detected and how CDI specs are generated; done means valid specs are regenerated after MIG changes and work with native CDI support in Docker or Podman.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.