From ee4b1ddf57fedae2d31c6887007a2355243a8345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sun, 4 Sep 2022 08:26:54 +0300 Subject: [PATCH] camtiler: Reduce logging verbosity for Mongo --- camtiler/README.md | 2 +- camtiler/persistence.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/camtiler/README.md b/camtiler/README.md index 98f18d0..bac2239 100644 --- a/camtiler/README.md +++ b/camtiler/README.md @@ -1,7 +1,7 @@ To apply changes: ``` -kubectl apply -n camtiler -f application.yml -f mongoexpress.yml -f mongodb-support.yml -f networkpolicy-base.yml -f minio-support.yml +kubectl apply -n camtiler -f application.yml -f persistence.yml -f mongoexpress.yml -f mongodb-support.yml -f networkpolicy-base.yml -f minio-support.yml ``` To deploy changes: diff --git a/camtiler/persistence.yml b/camtiler/persistence.yml index 0e89e1c..bc10f18 100644 --- a/camtiler/persistence.yml +++ b/camtiler/persistence.yml @@ -4,6 +4,9 @@ kind: MongoDBCommunity metadata: name: mongodb spec: + additionalMongodConfig: + systemLog: + quiet: true members: 3 type: ReplicaSet version: "5.0.9" @@ -29,6 +32,7 @@ spec: scramCredentialsSecretName: mongodb-application-readonly statefulSet: spec: + logLevel: WARN template: spec: affinity: