Skip to content

Commit

Permalink
Create a per-course profile.
Browse files Browse the repository at this point in the history
This one sets the user's mounted home path to be a subpath of their NFS home directory. This could be useful to separate user's files by their class.
  • Loading branch information
ryanlovett committed Sep 29, 2023
1 parent 2886bd3 commit e008a2b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions deployments/dev-r/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ jupyterhub:
description: "A newer repo2docker-based image with similar components as the primary."
kubespawner_override:
image: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/dev-r-secondary:5c55c90
- display_name: "1524699: DataHub Infrastructure"
slug: "1524699"
description: "Regular image with per-course subpath."
kubespawner_override:
volume_mounts:
- name: home
mountPath: /home/jovyan
subPath: "{username}/1524699"
nodeSelector:
hub.jupyter.org/pool-name: small-courses-pool
storage:
Expand Down

0 comments on commit e008a2b

Please sign in to comment.