From 895dcc4c625efd71ed33a617582eb7257334b789 Mon Sep 17 00:00:00 2001 From: Phillip Date: Mon, 25 Mar 2024 14:07:48 +0100 Subject: [PATCH] BC-6937 scale scan-file-deployment to max 2 (#54) currently keda creates an hpa which is basically maxed out for longer time thus might trigger a warning to cicumvent that and ease it up a little we simply scale it up to max 2 --- .../templates/scanfile-scaled-object.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/antivirus_check_service/templates/scanfile-scaled-object.yml.j2 b/ansible/roles/antivirus_check_service/templates/scanfile-scaled-object.yml.j2 index b44e6f7..0b299e6 100644 --- a/ansible/roles/antivirus_check_service/templates/scanfile-scaled-object.yml.j2 +++ b/ansible/roles/antivirus_check_service/templates/scanfile-scaled-object.yml.j2 @@ -20,7 +20,7 @@ spec: cooldownPeriod: 1800 #keep action for 15min idleReplicaCount: 0 minReplicaCount: {{ ANTIVIRUS_SCANFILE_MIN_REPLICA_COUNT|default("0", true) }} - maxReplicaCount: {{ ANTIVIRUS_SCANFILE_MAX_REPLICA_COUNT|default("1", true) }} + maxReplicaCount: {{ ANTIVIRUS_SCANFILE_MAX_REPLICA_COUNT|default("2", true) }} triggers: - type: rabbitmq metadata: