Skip to content
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 GCS as a storage solution #130

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Add GCS as a storage solution #130

merged 1 commit into from
Dec 11, 2023

Conversation

chiayi
Copy link
Collaborator

@chiayi chiayi commented Nov 29, 2023

Added choices to jupyterhub storage solutions selection. Currently default and GCSFuse.

@chiayi chiayi requested a review from imreddy13 November 29, 2023 19:33
@chiayi chiayi force-pushed the develop branch 5 times, most recently from 2090fd4 to af82308 Compare December 1, 2023 21:53
extraAnnotations:
gke-gcsfuse/volumes: "true"
gke-gcsfuse/cpu-limit: 500m
gke-gcsfuse/memory-limit: 100Mi
Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest increasing this memory limit to at least 250Mi.

@@ -46,6 +46,16 @@ resource "google_container_cluster" "ml_cluster" {
workload_pool = "${var.project_id}.svc.id.goog"
}

addons_config {
gcp_filestore_csi_driver_config {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be in the filestore PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will move it to the filestore PR.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Where is this used?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This image is used by the storage.md file.

@@ -23,7 +23,7 @@
# Available chart versions: https://jupyterhub.github.io/helm-chart/
hub:
image:
name: <Repo name here>
name: us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we pull this out to a separate PR and submit it sooner? It's not related to GCS right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Created a separate PR: #133

@@ -78,10 +78,20 @@ singleuser:
ephemeral-storage: 10Gi
nodeSelector:
iam.gke.io/gke-metadata-server-enabled: "true"
extraEnv:
JUPYTER_ALLOW_INSECURE_WRITES: "true"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe add a comment explaining why this is needed/ what error you see without

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added a comment on top explaining what this variable does, not sure why it doesn't show here.

@chiayi chiayi force-pushed the develop branch 3 times, most recently from b7a0e3c to 47695c8 Compare December 5, 2023 21:48
@chiayi chiayi merged commit 7f22d98 into main Dec 11, 2023
6 checks passed
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.

3 participants