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 imex nodes config #1080

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

mount imex nodes config #1080

wants to merge 4 commits into from

Conversation

guptaNswati
Copy link
Contributor

No description provided.

Copy link

copy-pr-bot bot commented Oct 29, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@cdesiniotis cdesiniotis marked this pull request as draft October 29, 2024 21:54
- name: host-imex-config
hostPath:
path: /etc/nvidia-imex/nodes_config.cfg
type: File
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't unconditionally mount this file as most systems don't have IMEX installed, and thus, this file won't exist. I am also opposed to configuring this volume as FileOrCreate, as that would cause this file to be unnecessarily created on all GPU nodes.

We may want to consider the approach we are leveraging in GFD. That is, mount the host's /etc in an init container, and if /host/etc/nvidia-imex/nodes_config.cfg exists, copy this file to an emptyDir volume that is shared with the main driver container. Unlike in GFD, we can mount this shared emptyDir volume to /etc/nvidia-imex in the driver container.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes make sense.

@guptaNswati guptaNswati force-pushed the mount-imex-config branch 4 times, most recently from 4fa5aca to ef20f1b Compare October 31, 2024 22:16
@tariq1890
Copy link
Contributor

/ok to test

@tariq1890 tariq1890 marked this pull request as ready for review November 7, 2024 22:45
@guptaNswati
Copy link
Contributor Author

/ok to test

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.

4 participants