From affbb4a1e5f9b4a7cff8a4f4e5eea7a2f070edef Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Mon, 28 Aug 2023 13:11:32 -0700 Subject: [PATCH] Cull pods that run for longer than 7 days Ref https://github.com/2i2c-org/infrastructure/issues/3015 --- helm-charts/basehub/values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm-charts/basehub/values.yaml b/helm-charts/basehub/values.yaml index 377a76e456..421ee3e692 100644 --- a/helm-charts/basehub/values.yaml +++ b/helm-charts/basehub/values.yaml @@ -58,6 +58,9 @@ inClusterNFS: global: {} jupyterhub: + cull: + # Don't allow any nodes to run for longer than 7 days + maxAge: 604800 # 7 days in seconds custom: auth: anonymizeUsername: false