Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mount the host's /dev into the mig-manager container #774

Closed
wants to merge 1 commit into from

Conversation

cdesiniotis
Copy link
Contributor

@cdesiniotis cdesiniotis commented Jun 17, 2024

After applying a MIG configuration but before regenerating the management CDI spec, it is required to run nvidia-smi to create the nvidia-cap* device nodes. For non-standard driver installs, where NVIDIA_DEV_ROOT=/ and NVIDIA_DRIVER_ROOT=/some/other/path, we need to make /dev writable inside of the mig-manager container.

Corresponding PR in mig-manager: NVIDIA/mig-parted#82

I am planning to add a transform for the newly added host-dev volume in a follow-up -- the host path of the volume needs to be changed if a custom hostPaths.rootFS is configured in Clusterpolicy. There are a few other host path volumes, like host-sys and host-os-release, that were missed when adding hostPaths.rootFS to Clusterpolicy. I will add transforms for all of these in a follow-up.

After applying a MIG configuration but before regenerating the management CDI spec,
it is required to run nvidia-smi to create the nvidia-cap* device nodes. For non-standard
driver installs, where NVIDIA_DEV_ROOT=/ and NVIDIA_DRIVER_ROOT=/some/other/path,
we need to make /dev writable inside of the mig-manager container.

Corresponding PR in mig-manager: NVIDIA/mig-parted#82

Signed-off-by: Christopher Desiniotis <[email protected]>
@cdesiniotis cdesiniotis marked this pull request as draft June 18, 2024 21:30
@cdesiniotis
Copy link
Contributor Author

Closing as the implementation in mig-manager no longer requires mounting the entire /dev directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants