-
Notifications
You must be signed in to change notification settings - Fork 311
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
base: main
Are you sure you want to change the base?
mount imex nodes config #1080
Conversation
- name: host-imex-config | ||
hostPath: | ||
path: /etc/nvidia-imex/nodes_config.cfg | ||
type: File |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes make sense.
8fcb4dc
to
59c4bf5
Compare
4fa5aca
to
ef20f1b
Compare
lint fixes
0a9f8ee
to
ba6e69b
Compare
/ok to test |
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
/ok to test |
No description provided.