Skip to content

Commit

Permalink
Merge pull request #5280 from 2i2c-org/update_ucmerced_ram
Browse files Browse the repository at this point in the history
Add multiple RAM profiles for ucmerced
  • Loading branch information
jmunroe authored Dec 12, 2024
2 parents 3ebbf48 + 3df51c1 commit 7dcc505
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
4 changes: 0 additions & 4 deletions config/clusters/2i2c/ucmerced-common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,3 @@ jupyterhub:
Authenticator:
admin_users:
- [email protected]
singleuser:
memory:
guarantee: "2G"
limit: "2G"
16 changes: 16 additions & 0 deletions config/clusters/2i2c/ucmerced-staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,21 @@ jupyterhub:
image: quay.io/cirt_ucm/jupyter-scipy-xarray:e7a77e8fcd6a
# Launch into JupyterLab after the user logs in
default_url: /lab
profile_options: &profile_options
requests: &profile_options_resource_allocation
display_name: Resource Allocation
choices:
mem_1:
display_name: 1 GB RAM
kubespawner_override:
mem_guarantee: 995622387
mem_limit: 995622387
default: true
mem_2:
display_name: 2 GB RAM
kubespawner_override:
mem_guarantee: 1991244775
mem_limit: 1991244775
- display_name: R
description: Start a R server with tidyverse & Geospatial tools
kubespawner_override:
Expand All @@ -31,6 +46,7 @@ jupyterhub:
# Ensures container working dir is homedir
# https://github.com/2i2c-org/infrastructure/issues/2559
working_dir: /home/rstudio
profile_options: *profile_options
hub:
config:
CILogonOAuthenticator:
Expand Down
16 changes: 16 additions & 0 deletions config/clusters/2i2c/ucmerced.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,21 @@ jupyterhub:
image: quay.io/cirt_ucm/jupyter-scipy-xarray:e7a77e8fcd6a
# Launch into JupyterLab after the user logs in
default_url: /lab
profile_options: &profile_options
requests: &profile_options_resource_allocation
display_name: Resource Allocation
choices:
mem_1:
display_name: 1 GB RAM
kubespawner_override:
mem_guarantee: 995622387
mem_limit: 995622387
default: true
mem_2:
display_name: 2 GB RAM
kubespawner_override:
mem_guarantee: 1991244775
mem_limit: 1991244775
- display_name: R
description: Start a R server with tidyverse & Geospatial tools
kubespawner_override:
Expand All @@ -31,6 +46,7 @@ jupyterhub:
# Ensures container working dir is homedir
# https://github.com/2i2c-org/infrastructure/issues/2559
working_dir: /home/rstudio
profile_options: *profile_options
hub:
config:
CILogonOAuthenticator:
Expand Down

0 comments on commit 7dcc505

Please sign in to comment.