Skip to content

Commit

Permalink
Merge pull request #197 from dandi/disable-on-demand
Browse files Browse the repository at this point in the history
Disable on-demand after workshop
  • Loading branch information
asmacdo authored Sep 13, 2024
2 parents a53f351 + 2637bd0 commit b2f344a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 48 deletions.
24 changes: 0 additions & 24 deletions envs/dandi/managed-jupyterhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,30 +216,6 @@ singleuser:
kubespawner_override:
image: ${singleuser_image_repo}:${singleuser_image_tag}
display_name: Image
- default: true
description: 6 CPU / 16 GB up to 12C/32G. May take up to 15 mins to start.
display_name: MIT Workshop (tmp)
kubespawner_override:
cpu_guarantee: 6
cpu_limit: 12
image_pull_policy: Always
mem_guarantee: 16G
mem_limit: 32G
node_selector:
NodePool: cpu-on-demand
profile_options:
image:
choices:
matlab:
display_name: MATLAB (must provide your own license)
kubespawner_override:
image: ${singleuser_image_repo}:${singleuser_image_tag}-matlab
standard:
default: true
display_name: Standard
kubespawner_override:
image: ${singleuser_image_repo}:${singleuser_image_tag}
display_name: Image
- default: true
description: 6 CPU / 16 GB up to 12C/32G. May take up to 15 mins to start.
display_name: Base
Expand Down
48 changes: 24 additions & 24 deletions envs/shared/jupyterhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,30 +59,30 @@ singleuser:
mem_guarantee: 0.5G
node_selector:
NodePool: default
- display_name: "MIT Workshop (tmp)"
description: "6 CPU / 16 GB up to 12C/32G. May take up to 15 mins to start."
profile_options:
image:
display_name: "Image"
choices:
standard:
display_name: "Standard"
default: true
kubespawner_override:
image: "${singleuser_image_repo}:${singleuser_image_tag}"
matlab:
display_name: "MATLAB (must provide your own license)"
kubespawner_override:
image: "${singleuser_image_repo}:${singleuser_image_tag}-matlab"
default: true
kubespawner_override:
image_pull_policy: Always
cpu_limit: 12
cpu_guarantee: 6
mem_limit: 32G
mem_guarantee: 16G
node_selector:
NodePool: cpu-on-demand
# - display_name: "MIT Workshop (tmp)"
# description: "6 CPU / 16 GB up to 12C/32G. May take up to 15 mins to start."
# profile_options:
# image:
# display_name: "Image"
# choices:
# standard:
# display_name: "Standard"
# default: true
# kubespawner_override:
# image: "${singleuser_image_repo}:${singleuser_image_tag}"
# matlab:
# display_name: "MATLAB (must provide your own license)"
# kubespawner_override:
# image: "${singleuser_image_repo}:${singleuser_image_tag}-matlab"
# default: true
# kubespawner_override:
# image_pull_policy: Always
# cpu_limit: 12
# cpu_guarantee: 6
# mem_limit: 32G
# mem_guarantee: 16G
# node_selector:
# NodePool: cpu-on-demand
- display_name: "Base"
description: "6 CPU / 16 GB up to 12C/32G. May take up to 15 mins to start."
profile_options:
Expand Down

0 comments on commit b2f344a

Please sign in to comment.