I'm facing difficulties with GCS file mount when running on a different provider. The file mount configuration is not working as expected, and the mounted directory appears empty after provisioning. I've tried using mode: MOUNT
but encountered issues. mode: COPY
works fine. How can I troubleshoot and resolve this issue?
Ash
Asked on Mar 28, 2024
Check the cloud provider's support for mounting object stores:
privileged
mode.Use COPY
mode as an alternative:
gsutil cp
.Consider the following workaround:
resources:
cloud: runpod
...
file_mounts:
/data:
source: gs://<bucket-name>
mode: MOUNT
run: |
echo hi > mycheckpoint.dat
gsutil cp mycheckpoint.dat gs://mybucket/
Future improvements: