Skip to content

Commit

Permalink
Use a profile list with guarantee eq limits and allow more options
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Sundell <[email protected]>
  • Loading branch information
GeorgianaElena and consideRatio authored Oct 24, 2023
1 parent 5974233 commit 5822962
Showing 1 changed file with 36 additions and 13 deletions.
49 changes: 36 additions & 13 deletions config/clusters/2i2c-uk/lis.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,42 @@ jupyterhub:
tag: "581a714"
# Added profileList per https://2i2c.freshdesk.com/a/tickets/1066
profileList:
- display_name: "Small: ~512 MB RAM / ~0.5 CPU"
slug: mem_512m
default: true
kubespawner_override:
# increase as requested via https://2i2c.freshdesk.com/a/tickets/1066
mem_guarantee: 512M
mem_limit: 1G
- display_name: "Large: ~1 GB RAM / ~0.5 CPU"
slug: mem_1g
kubespawner_override:
# increase as requested via https://2i2c.freshdesk.com/a/tickets/1066
mem_guarantee: 1G
mem_limit: 2G
- mem_0_4:
display_name: 0.4 GB RAM, upto 3.485 CPUs
kubespawner_override:
mem_guarantee: 457785792
mem_limit: 457785792
cpu_guarantee: 0.054453125
cpu_limit: 3.485
node_selector:
node.kubernetes.io/instance-type: n2-highmem-4
- mem_0_9:
display_name: 0.9 GB RAM, upto 3.485 CPUs
kubespawner_override:
mem_guarantee: 915571584
mem_limit: 915571584
cpu_guarantee: 0.10890625
cpu_limit: 3.485
node_selector:
node.kubernetes.io/instance-type: n2-highmem-4
- mem_1_7:
display_name: 1.7 GB RAM, upto 3.485 CPUs
kubespawner_override:
mem_guarantee: 1831143168
mem_limit: 1831143168
cpu_guarantee: 0.2178125
cpu_limit: 3.485
node_selector:
node.kubernetes.io/instance-type: n2-highmem-4
- mem_3_4:
display_name: 3.4 GB RAM, upto 3.485 CPUs
kubespawner_override:
mem_guarantee: 3662286336
mem_limit: 3662286336
cpu_guarantee: 0.435625
cpu_limit: 3.485
node_selector:
node.kubernetes.io/instance-type: n2-highmem-4
hub:
config:
JupyterHub:
Expand Down

0 comments on commit 5822962

Please sign in to comment.