-
Notifications
You must be signed in to change notification settings - Fork 12
[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
base: master
Are you sure you want to change the base?
Conversation
- gcsfuse-mount:/mnt/gcs | ||
entrypoint: > | ||
/bin/sh -c " | ||
gcsfuse YOUR_BUCKET_NAME /mnt/gcs |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
No description provided.