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

Ensure that direcory volumes have Directory type #1199

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elezar
Copy link
Member

@elezar elezar commented Mar 14, 2025

This change ensures that volumes that are expected to be directories have a Directory or DirectoryOrCreate type.

See https://nvbugspro.nvidia.com/bug/5129540

@elezar
Copy link
Member Author

elezar commented Mar 14, 2025

@cdesiniotis @tariq1890 we should confirm whether similar changes are required for the GPU Operator.

hostPath:
path: /var/lib/kubelet/device-plugins
type: DirectoryOrCreate
Copy link
Member Author

Choose a reason for hiding this comment

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

Question: Could this also be Directory instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

This change ensures that volumes that are expected to be directories have
a Directory or DirectoryOrCreate type.

Signed-off-by: Evan Lezar <[email protected]>
@elezar elezar force-pushed the check-directory-mounts branch from 785fc35 to c3584ec Compare March 14, 2025 08:05
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.

1 participant