Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image profile options for openscapes #1524

Merged
merged 1 commit into from
Jul 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions config/clusters/openscapes/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,23 @@ basehub:
# on these nodes.
- display_name: "Small: m5.large"
description: "~2 CPU, ~8G RAM"
profile_options: &profile_options
image:
display_name: Image
choices:
python:
display_name: Python
default: true
kubespawner_override:
image: openscapes/python:8c7d33e
rocker:
display_name: R
kubespawner_override:
image: openscapes/rocker:b88a034
matlab:
display_name: Matlab
kubespawner_override:
image: openscapes/matlab:fb41496
kubespawner_override:
# Expllicitly unset mem_limit, so it overrides the default memory limit we set in
# basehub/values.yaml
Expand All @@ -78,20 +95,23 @@ basehub:
node.kubernetes.io/instance-type: m5.large
- display_name: "Medium: m5.xlarge"
description: "~4 CPU, ~15G RAM"
profile_options: *profile_options
kubespawner_override:
mem_limit: null
mem_guarantee: 12G
node_selector:
node.kubernetes.io/instance-type: m5.xlarge
- display_name: "Large: m5.2xlarge"
description: "~8 CPU, ~30G RAM"
profile_options: *profile_options
kubespawner_override:
mem_limit: null
mem_guarantee: 26G
node_selector:
node.kubernetes.io/instance-type: m5.2xlarge
- display_name: "Huge: m5.8xlarge"
description: "~32 CPU, ~128G RAM"
profile_options: *profile_options
kubespawner_override:
mem_limit: null
mem_guarantee: 115G
Expand Down