Skip to content

Conversation

yonghaoy
Copy link
Contributor

No description provided.

@yonghaoy yonghaoy changed the title Yyu fuse [draft] AoU jupyter example Oct 22, 2024
- gcsfuse-mount:/mnt/gcs
entrypoint: >
/bin/sh -c "
gcsfuse YOUR_BUCKET_NAME /mnt/gcs
Copy link
Contributor Author

Choose a reason for hiding this comment

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

todo - pass YOUR_BUCKET_NAME as env var from Mikey vm init script

Copy link
Contributor

Choose a reason for hiding this comment

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

This is a cool exploration. I think the workbench way is to use the workbench CLI and run wb resource mount, which mounts all resource buckets in the workspace. This means we may need to build another image that specifically does this. The other problem is that now that users cannot remount buckets themselves, we'll need a cron in the mount sidecar that tries to remount every hour or so.

- apparmor:unconfined
wondershaper:
container_name: "wondershaper"
image: "us.gcr.io/broad-dsp-gcr-public/wondershaper:0.0.1"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wondershaper for rate limiting. Eventually, it's better to host this image in a VWB's public repo

restart: always
network_mode: "host"
cap_add:
- NET_ADMIN
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Net_admin is required by wondershaper sidecar

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