From ed1faea1b25ff02f3a2eedd1124bec2250e1d8e4 Mon Sep 17 00:00:00 2001 From: jnywong Date: Fri, 13 Mar 2026 17:05:38 +0000 Subject: [PATCH] feat: add test quota policy config --- config/clusters/earthscope/common.values.yaml | 3 +++ config/clusters/earthscope/staging.values.yaml | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/config/clusters/earthscope/common.values.yaml b/config/clusters/earthscope/common.values.yaml index d176883312..5201793a59 100644 --- a/config/clusters/earthscope/common.values.yaml +++ b/config/clusters/earthscope/common.values.yaml @@ -80,6 +80,9 @@ basehub: - geolab - geolab:dev - geolab:power + - cpu-1 + - cpu-2 + - cpu-3 extra_authorize_params: # This isn't an actual URL, just a string. Must not have a trailing slash audience: https://api.dev.earthscope.org diff --git a/config/clusters/earthscope/staging.values.yaml b/config/clusters/earthscope/staging.values.yaml index 2df16dc4fe..504097bcc8 100644 --- a/config/clusters/earthscope/staging.values.yaml +++ b/config/clusters/earthscope/staging.values.yaml @@ -41,6 +41,15 @@ basehub: unit: GiB-hours window: 7 intersection: max + policy: + - resource: memory + limit: + value: 250 + unit: GiB-hours + window: 7 + scope: + group: + - cpu-1 extraConfig: 11-enforce-usage-quotas: | from jupyterhub_usage_quotas.manager import SpawnException, UsageQuotaManager