From d5a9e83022b2548e489fe2c3f888ecce3fcfa7c4 Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org>
Date: Tue, 16 May 2023 14:23:13 +0200
Subject: [PATCH] opentelemetry: Increase limit resources

Only 2 workers for production. It's still maximizing the cpu usage (~99%) and exceeding
the ram usage too [1] (max 14.68Gib).

[1] https://grafana.softwareheritage.org/goto/oPt0RLU4z?orgId=1

Refs. swh/infra/sysadm-environment#4524
---
 cluster-configuration/values/archive-production-rke2.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cluster-configuration/values/archive-production-rke2.yaml b/cluster-configuration/values/archive-production-rke2.yaml
index 810d4403c..475bfc7a2 100644
--- a/cluster-configuration/values/archive-production-rke2.yaml
+++ b/cluster-configuration/values/archive-production-rke2.yaml
@@ -27,8 +27,8 @@ otlpCollector:
     swh: logs-swh-production
     system: logs-system-production
   resources:
-    cpu: 512m
-    memory: 4Gi
+    cpu: 1024m
+    memory: 16Gi
     batch: 10
     timeout: 10s
   endpoints:
-- 
GitLab