Skip to content

Comments

Fix /home/kubernetes/bin/nvidia is not a directory#213

Open
c202c wants to merge 1 commit intoGoogleCloudPlatform:masterfrom
c202c:patch-1
Open

Fix /home/kubernetes/bin/nvidia is not a directory#213
c202c wants to merge 1 commit intoGoogleCloudPlatform:masterfrom
c202c:patch-1

Conversation

@c202c
Copy link

@c202c c202c commented Jan 20, 2022

If nothing exists at /home/kubernetes/bin/nvidia, an empty directory will be created.

When creating a new GKE cluster with GPU, the pods of nvidia-gpu-device-plugin DaemonSet keep ContainerCreating status. With the following messages:

MountVolume.SetUp failed for volume "nvidia" : hostPath type check failed: /home/kubernetes/bin/nvidia is not a directory

If nothing exists at  /home/kubernetes/bin/nvidia, an empty directory will be created.
@zsolt-p
Copy link

zsolt-p commented May 12, 2022

I'm facing this same problem and this looks like a valid fix, thanks @c202c
Can't find a related issue on the tracker, how can I support moving this ahead?

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