Skip to content

Commit

Permalink
nmfs-openscapes: add nodeselectors so users are placed on hub-specifi…
Browse files Browse the repository at this point in the history
…c nodes
  • Loading branch information
sgibson91 committed Nov 15, 2024
1 parent 032c1bc commit 85135b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/clusters/nmfs-openscapes/prod.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jupyterhub:
- hosts: [nmfs-openscapes.2i2c.cloud]
secretName: https-auto-tls
singleuser:
nodeSelector:
2i2c/hub-name: prod
extraEnv:
SCRATCH_BUCKET: s3://nmfs-openscapes-scratch/$(JUPYTERHUB_USER)
PERSISTENT_BUCKET: s3://nmfs-openscapes-persistent/$(JUPYTERHUB_USER)
Expand Down
2 changes: 2 additions & 0 deletions config/clusters/nmfs-openscapes/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jupyterhub:
- hosts: [staging.nmfs-openscapes.2i2c.cloud]
secretName: https-auto-tls
singleuser:
nodeSelector:
2i2c/hub-name: staging
extraEnv:
SCRATCH_BUCKET: s3://nmfs-openscapes-scratch-staging/$(JUPYTERHUB_USER)
PERSISTENT_BUCKET: s3://nmfs-openscapes-persistent-staging/$(JUPYTERHUB_USER)
Expand Down

0 comments on commit 85135b3

Please sign in to comment.