From 93573d4c9175f5f3eeeca1f799d1bf40b63e6cf9 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Thu, 29 Feb 2024 17:59:56 -0800 Subject: [PATCH 1/2] Setup profileList for LIS hub Based on request in https://2i2c.freshdesk.com/a/tickets/1348, which asks us to set as default the same limits as right now, and offer a higher limit as an option --- config/clusters/2i2c-uk/lis.values.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/config/clusters/2i2c-uk/lis.values.yaml b/config/clusters/2i2c-uk/lis.values.yaml index 0d0940d02e..9a7c9c955b 100644 --- a/config/clusters/2i2c-uk/lis.values.yaml +++ b/config/clusters/2i2c-uk/lis.values.yaml @@ -54,10 +54,20 @@ jupyterhub: # https://hub.docker.com/r/lisacuk/lishub-base name: "lisacuk/lishub-base" tag: "581a714" - memory: - # increase as requested via https://2i2c.freshdesk.com/a/tickets/1066 - guarantee: 512M - limit: 2G + profileList: + # Setup as requested in https://2i2c.freshdesk.com/a/tickets/1348 + - display_name: Regular Instance + description: "Provides 512M - 2G of RAM" + default: true + kubespawner_override: + mem_limit: 2G + mem_guarantee: 512M + - display_name: Large Instance + description: "Provides 1G - 4G of RAM" + default: true + kubespawner_override: + mem_limit: 4G + mem_guarantee: 1G hub: config: JupyterHub: From 16f23466af4f74d8edad033328a9dc53d2d8decb Mon Sep 17 00:00:00 2001 From: Yuvi Panda Date: Thu, 29 Feb 2024 19:33:12 -0800 Subject: [PATCH 2/2] Remove duplicate default setting Co-authored-by: Erik Sundell --- config/clusters/2i2c-uk/lis.values.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/clusters/2i2c-uk/lis.values.yaml b/config/clusters/2i2c-uk/lis.values.yaml index 9a7c9c955b..671b3623d2 100644 --- a/config/clusters/2i2c-uk/lis.values.yaml +++ b/config/clusters/2i2c-uk/lis.values.yaml @@ -64,7 +64,6 @@ jupyterhub: mem_guarantee: 512M - display_name: Large Instance description: "Provides 1G - 4G of RAM" - default: true kubespawner_override: mem_limit: 4G mem_guarantee: 1G