GoogleCloudPlatform / prometheus-engine

Google Cloud Managed Service for Prometheus libraries and manifests.
https://g.co/cloud/managedprometheus
Apache License 2.0
191 stars 89 forks source link

Update DCGM sample YAML so that /home/kubernetes/bin/nvidia is not created if it does not exist #1009

Closed yqlu closed 3 months ago

yqlu commented 3 months ago

Context: b/345755257

Verified via https://kubernetes.io/docs/concepts/storage/volumes/?spm=a2c63.p38356.0.0.28874dcbfWkCRx#hostpath-volume-types this is a well-defined option.

yqlu commented 3 months ago

Looking at b/343384034#comment42 (lots of history in that issue) it sounds like we explicitly do not want DirectoryOrCreate because of the race condition? Or am I misreading it.

pintohutch commented 3 months ago

Ah - nice find! Yea then nvm my comment. Let's proceed with "Directory" then.