From 0e7a6724bac97d78eb2146131568d7e116134759 Mon Sep 17 00:00:00 2001
From: Vincent SELLIER <vincent.sellier@softwareheritage.org>
Date: Wed, 26 Apr 2023 18:29:10 +0200
Subject: [PATCH] swh/production-cassandra: Activate the replay with the
 error_reporter activated for the last object types

Related to swh/infra/sysadm-environment#4707
---
 swh/values/production-cassandra.yaml | 43 ++++++++++++++--------------
 1 file changed, 22 insertions(+), 21 deletions(-)

diff --git a/swh/values/production-cassandra.yaml b/swh/values/production-cassandra.yaml
index 928a4111f..6d6615ed1 100644
--- a/swh/values/production-cassandra.yaml
+++ b/swh/values/production-cassandra.yaml
@@ -36,26 +36,28 @@ storage_replayer:
     port: 6379
     db: 1
   deployments:
-    # content:
-    #   objects:
-    #     - content
-    #   requestedCpu: 425m
-    #   requestedMemory: 200Mi
-    #   autoScaling:
-    #     maxReplicaCount: 10
-    # directory:
-    #   objects:
-    #     - directory
-    #   batchSize: 250
-    #   # Full replay
-    #   requestedCpu: 500m
-    #   requestedMemory: 250Mi
-    #   #Follow up consumption
-    #   # requestedMemory: 100Mi
-    #   autoScaling:
-    #     maxReplicaCount: 10
-    #   specific_options:
-    #     directory_entries_insert_algo: batch
+    content:
+      objects:
+        - content
+      privileged: true
+      requestedCpu: 425m
+      requestedMemory: 200Mi
+      autoScaling:
+        maxReplicaCount: 5
+    directory:
+      objects:
+        - directory
+      privileged: true
+      batchSize: 250
+      # Full replay
+      requestedCpu: 500m
+      requestedMemory: 250Mi
+      # Follow up consumption
+      # requestedMemory: 100Mi
+      autoScaling:
+        maxReplicaCount: 5
+      specific_options:
+        directory_entries_insert_algo: batch
     extid:
       objects:
         - extid
@@ -133,7 +135,6 @@ storage_replayer:
         - release
       privileged: true
       batchSize: 1000
-      privileged: true
       # Full replay
       # requestedCpu: 600m
       requestedMemory: 300Mi
-- 
GitLab