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

Fix mps deployment #505

Merged
merged 2 commits into from
Feb 7, 2024
Merged

Fix mps deployment #505

merged 2 commits into from
Feb 7, 2024

Conversation

elezar
Copy link
Member

@elezar elezar commented Feb 6, 2024

When deployed without MPS enabled, the device plugin fails due to mounts not being creatable.

Only deploy the MPS daemonset if the deviceplugin is deployed.

Signed-off-by: Evan Lezar <[email protected]>
@elezar elezar self-assigned this Feb 6, 2024
@elezar elezar merged commit f6fe2ce into NVIDIA:main Feb 7, 2024
6 checks passed
@elezar elezar deleted the fix-mps-deployment branch February 7, 2024 22:54
@@ -186,7 +186,6 @@ spec:
# This is required for CDI detection to work correctly.
- name: driver-root
mountPath: /driver-root
readOnly: true
Copy link
Contributor

Choose a reason for hiding this comment

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

Question -- why is this no longer read only?

Copy link
Member Author

Choose a reason for hiding this comment

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

The issue is that the mount to /driver-root/mps fails if this is a readonly path.

Do you have suggestions on how we can get around this?

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