From 029572872ea32124f6b2941e47ecab89762273f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Wed, 9 Nov 2022 11:49:13 +0200 Subject: [PATCH] logmower: Update env vars --- logmower/application.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/logmower/application.yml b/logmower/application.yml index 1b3a303..8bc6726 100644 --- a/logmower/application.yml +++ b/logmower/application.yml @@ -27,7 +27,7 @@ spec: quiet: true members: 3 type: ReplicaSet - version: "5.0.13" + version: "6.0.2" security: authentication: modes: ["SCRAM"] @@ -58,10 +58,10 @@ spec: resources: requests: cpu: 100m - memory: 2Gi + memory: 1Gi limits: - cpu: 2000m - memory: 2Gi + cpu: 4000m + memory: 1Gi - name: mongodb-agent resources: requests: @@ -133,7 +133,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - - name: MONGODB_HOST + - name: MONGO_URI valueFrom: secretKeyRef: name: logmower-mongodb-application-readwrite @@ -143,6 +143,8 @@ spec: name: metrics command: - /log_shipper.py + - "--heuristic-parse-json" + - "--heuristic-normalize-log-level" - "--max-collection-size" - "10000000000" resources: