diff --git a/config/clusters/hhmi/common.values.yaml b/config/clusters/hhmi/common.values.yaml
index 3d4efdaaca..f6a2a84f42 100644
--- a/config/clusters/hhmi/common.values.yaml
+++ b/config/clusters/hhmi/common.values.yaml
@@ -30,12 +30,32 @@ basehub:
url: ""
custom_html: HHMI and Stratos
singleuser:
+ extraContainers:
+ - name: mysql
+ image: datajoint/mysql # following the spyglass tutorial at https://lorenfranklab.github.io/spyglass/latest/notebooks/00_Setup/#existing-database
+ ports:
+ - name: mysql
+ containerPort: 3306
+ resources:
+ limits:
+ # Best effort only. No more than 1 CPU, and if mysql uses more than 4G, restart it
+ memory: 4Gi
+ cpu: 1.0
+ requests:
+ # If we don't set requests, k8s sets requests == limits!
+ # So we set something tiny
+ memory: 64Mi
+ cpu: 0.01
+ env:
+ # Configured using the env vars documented in https://lorenfranklab.github.io/spyglass/latest/notebooks/00_Setup/#existing-database
+ - name: MYSQL_ROOT_PASSWORD
+ value: "tutorial"
defaultUrl: /lab
profileList:
- display_name: "Loren Frank Lab"
default: true
description: "Spyglass-NWB container for the Loren Frank Lab"
- slug: frankloren
+ slug: lorenfrank
profile_options:
image:
display_name: Image
@@ -51,7 +71,7 @@ basehub:
display_name: Spyglass-NWB
slug: spyglass
kubespawner_override:
- image: "quay.io/2i2c/hhmi-spyglass-nwb-image:f543e3444053"
+ image: "quay.io/2i2c/hhmi-spyglass-nwb-image:28e92dae096f"
- display_name: "Community Images"
description: "Start a container with a community maintained image"
slug: community