Skip to content

Commit

Permalink
Merge pull request #27 from GoogleCloudPlatform/develop
Browse files Browse the repository at this point in the history
Add image to jupyter config and more to readme
  • Loading branch information
richardsliu authored Sep 8, 2023
2 parents cbb9662 + 848ec0f commit 462c72e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions ray-on-gke/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Preinstall the following on your computer:

### JupyterHub

> **_NOTE:_** Currently the cd/user/jupyterhub/jupyter_config/config.yaml has 3 profiles that uses the same jupyter images, this can be changed, as well as the description of these profiles
1. `cd user/jupyterhub`

2. Edit `variables.tf` with your GCP settings. The `<your user name>` that you specify will become a K8s namespace for your Jupyterhub services.
Expand Down
8 changes: 4 additions & 4 deletions ray-on-gke/user/jupyterhub/jupyter_config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ singleuser:
nodeSelector:
iam.gke.io/gke-metadata-server-enabled: "true"
image:
name: <image-name>
tag: <tag>
name: jupyter/tensorflow-notebook
tag: python-3.10
startTimeout: 700
# More info on kubespawner overrides: https://jupyterhub-kubespawner.readthedocs.io/en/latest/spawner.html#kubespawner.KubeSpawner
# profile example:
Expand All @@ -78,7 +78,7 @@ singleuser:
- display_name: "Profile2 name"
description: "description here"
kubespawner_override:
image: <image-name>:<tag>
image: jupyter/tensorflow-notebook:python-3.10
extra_resource_limits:
# number of gpus needed on the node
nvidia.com/gpu: "2"
Expand All @@ -88,7 +88,7 @@ singleuser:
- display_name: "Profile3 name"
description: "description"
kubespawner_override:
image: <image-name>:<tag>
image: jupyter/tensorflow-notebook:python-3.10
extra_resource_limits:
nvidia.com/gpu: "2"
# GPU requests
Expand Down

0 comments on commit 462c72e

Please sign in to comment.