Skip to content

Commit

Permalink
Keep the orginal profile list for the prod hub
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianaElena committed Mar 26, 2024
1 parent cdee532 commit 9d486b7
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions config/clusters/awi-ciroh/prod.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,64 @@ basehub:
#
name: "quay.io/2i2c/awi-ciroh-image"
tag: "584293e50d4c"
profileList:
# The mem-guarantees are here so k8s doesn't schedule other pods
# on these nodes. They need to be just under total allocatable
# RAM on a node, not total node capacity. Values calculated using
# https://learnk8s.io/kubernetes-instance-calculator
#
# FIXME: These are changed to a temporary node sharing setup based on
# the legacy choices to help us pre-warm capacity independent on
# the choices users end up making and avoiding running into
# persistent disk quotas.
#
# Change PR: https://github.com/2i2c-org/infrastructure/pull/2539
# Related event: https://github.com/2i2c-org/infrastructure/issues/2520
#
# This is an interim setup, trying to balance the experience of
# the previous 1:1 user:node setup with a node sharing setup. It
# is not meant to be retained long term!
#
# -[ ] Make this cluster have a node sharing setup like in the
# basehub/daskhub template.
#
- display_name: "Small"
description: 5GB RAM, 2 CPUs
default: true
kubespawner_override:
mem_limit: 7G
mem_guarantee: 5G
cpu_limit: 2
cpu_guarantee: 0.938
node_selector:
node.kubernetes.io/instance-type: n2-highmem-16
- display_name: Medium
description: 11GB RAM, 4 CPUs
kubespawner_override:
mem_limit: 15G
mem_guarantee: 11G
cpu_limit: 4
cpu_guarantee: 1.875
node_selector:
node.kubernetes.io/instance-type: n2-highmem-16
- display_name: Large
description: 24GB RAM, 8 CPUs
kubespawner_override:
mem_limit: 30G
mem_guarantee: 24G
cpu_limit: 8
cpu_guarantee: 3.75
node_selector:
node.kubernetes.io/instance-type: n2-highmem-16
- display_name: Huge
description: 52GB RAM, 16 CPUs
kubespawner_override:
mem_limit: 60G
mem_guarantee: 52G
cpu_limit: 16
cpu_guarantee: 7.5
node_selector:
node.kubernetes.io/instance-type: n2-highmem-16
extraEnv:
SCRATCH_BUCKET: gs://awi-ciroh-scratch/$(JUPYTERHUB_USER)
PANGEO_SCRATCH: gs://awi-ciroh-scratch/$(JUPYTERHUB_USER)
Expand Down

0 comments on commit 9d486b7

Please sign in to comment.