From 1a7f9bcc752ada57b62b5d1a9d9ce697ddaed8e3 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 5a588e51cd..bf02d98f2b 100644 --- a/helm-charts/basehub/values.yaml +++ b/helm-charts/basehub/values.yaml @@ -57,6 +57,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