From de7748808f377836d8a8adf3b821dfe30ae1357f Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org>
Date: Wed, 17 Jan 2024 10:26:29 +0100
Subject: [PATCH] production/nixguix: Let loader pods run

It's been sent a warm up shutdown while running. Those tasks are long running. This
seems to prevent the task from finishing properly. Which then cascades to no longer been
scheduled later on (since it could not sent the final status once it's done).

Refs. swh/infra/sysadm-environment#5213
---
 swh/values/production/swh.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/swh/values/production/swh.yaml b/swh/values/production/swh.yaml
index bd69a9997..cfb35314a 100644
--- a/swh/values/production/swh.yaml
+++ b/swh/values/production/swh.yaml
@@ -656,7 +656,9 @@ loaders:
           - rpm
           - diff
       autoScaling:
+        stopWhenNoActivity: false
         maxReplicaCount: 2
+        minReplicaCount: 2
     npm:
       requestedMemory: 256Mi
       requestedCpu: 200m
-- 
GitLab