Skip to content

[draft] AoU jupyter example #131

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

Draft
wants to merge 23 commits into
base: master
Choose a base branch
from
Draft

Conversation

yonghaoy
Copy link

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
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
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
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