From ebdd44ed21fa6d6f8fd1b5311849a2db69eec2db Mon Sep 17 00:00:00 2001 From: Jonathan Sick Date: Tue, 7 Jan 2025 12:41:42 -0500 Subject: [PATCH] Increase times square redis memory to 8-24Gi The redis disk cache is 8Gi, so we need to use at least that much memory to be efficient. The limit is set to 3x the disk cache to avoid OOM kills. With the previous defaults redis couldn't start up on usdf-rsp-dev where the redis cache is heavily loaded. --- applications/times-square/values-usdfdev.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/applications/times-square/values-usdfdev.yaml b/applications/times-square/values-usdfdev.yaml index 3127260bb3..b4d9442114 100644 --- a/applications/times-square/values-usdfdev.yaml +++ b/applications/times-square/values-usdfdev.yaml @@ -13,3 +13,10 @@ cloudsql: redis: persistence: storageClass: "wekafs--sdf-k8s01" + resources: + # The redis disk cache is 8Gi, so we need to use at least that much memory + # to be efficient. The limit is set to 3x the disk cache to avoid OOM kills. + requests: + memory: "8Gi" + limits: + memory: "24Gi"