-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add basic experimental cache support #58
Conversation
/assign @songjiaxun |
/assign dannawang0221 |
examples/README.md
Outdated
@@ -186,3 +186,32 @@ kubectl port-forward jupyter-notebook-server 8888:8888 | |||
# clean up | |||
kubectl delete -f ./examples/jupyter/jupyter-notebook-server.yaml | |||
``` | |||
|
|||
## Jupyter Notebook Example (no experimental read cache) |
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.
Do you mean "(with experimental read cache)"?
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.
Fixed! Thanks
examples/README.md
Outdated
# 2. install a Jupyter Notebook server using experimental gcsfuse read cache | ||
kubectl apply -f ./examples/jupyter/jupyter-experimental-readcache.yaml | ||
|
||
# get service IPs |
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.
Could you also add the sequence number for this and the following steps? Or just remove the numbers 1, 2 from the above steps?
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.
Woops, yup, fixed! Thanks
examples/README.md
Outdated
|
||
## Jupyter Notebook Example (no experimental read cache) | ||
|
||
#### Prerequisite |
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.
The example uses GPU, so you will also need to enable GPU on the node pool if you are using a standard cluster.
You can refer to https://github.com/GoogleCloudPlatform/gcs-fuse-csi-driver/tree/main/examples#prerequisites here.
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.
Good idea! Added
This CL adds simple support for utilizing the GCSFuse experimental cache. To do this, it detects whether the user has passed in experimental-local-file-cache to their mount options, and if so, adds an emptydir volume mount pointing to ephemeral local ssds (that have to have been previously set up by the user) and points the cache at them.
@songjiaxun please let me know if there's a suitable readme for me to add structions on how to add a cluster/node pool w/ local ssds.