Skip to content

Commit

Permalink
Merge pull request #4630 from sgibson91/cicada-hub/more-profile-options
Browse files Browse the repository at this point in the history
Add 2 new machine size options to cicada hub
  • Loading branch information
sgibson91 authored Aug 16, 2024
2 parents 2ca9e2f + f224ace commit 9fb6fc7
Showing 1 changed file with 74 additions and 0 deletions.
74 changes: 74 additions & 0 deletions config/clusters/catalystproject-latam/cicada.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,77 @@ jupyterhub:
admin_users:
- mfariello
- luciauy
# Copied from common file as community requested extra options
singleuser:
profileList:
- display_name: Jupyter SciPy Notebook
description: Python environment
slug: jupyter
default: true
kubespawner_override:
image: quay.io/jupyter/scipy-notebook:2024-03-04
default_url: /lab
profile_options: &profile_options
resource_allocation: &resource_allocation
display_name: Resource Allocation
choices:
mem_0_7:
display_name: Up to 2G of RAM and 1 CPU
kubespawner_override:
mem_guarantee: 732421K
mem_limit: 2G
cpu_guarantee: 0.093
cpu_limit: 1
mem_3_0:
display_name: Up to 6G of RAM and 2 CPUs
kubespawner_override:
mem_guarantee: 2929687.5K
mem_limit: 6G
cpu_guarantee: 0.375
cpu_limit: 2
mem_12_0:
display_name: Up to 24G of RAM and 3 CPUs
kubespawner_override:
mem_guarantee: 11718750K
mem_limit: 24G
cpu_guarantee: 1.5
cpu_limit: 3
# Next two options were requested in: https://2i2c.freshdesk.com/a/tickets/2010
# https://github.com/2i2c-org/infrastructure/issues/4610 recommended using the
# small and medium options from showcase hub to fulfill this
showcase_small:
display_name: Up to 32GB of RAM and 4 CPUs
kubespawner_override:
cpu_guarantee: 0.4
mem_guarantee: 28.937G
mem_limit: null
showcase_medium:
display_name: Up to 128GB of RAM and 16 CPUs
kubespawner_override:
cpu_guarantee: 1.6
mem_guarantee: 120.513G
mem_limit: null
- display_name: Rocker Geospatial with RStudio
description: R environment
slug: rocker
kubespawner_override:
image: rocker/binder:4.3
image_pull_policy: Always
default_url: /rstudio
working_dir: /home/rstudio # Ensures container working dir is homedir
profile_options: *profile_options
- display_name: Bring your own image
description: Specify your own docker image (must have python and jupyterhub installed in it)
slug: custom
profile_options:
image:
display_name: Image
unlisted_choice:
enabled: True
display_name: "Custom image"
validation_regex: "^.+:.+$"
validation_message: "Must be a publicly available docker image, of form <image-name>:<tag>"
kubespawner_override:
image: "{value}"
choices: {}
resource_allocation: *resource_allocation

0 comments on commit 9fb6fc7

Please sign in to comment.