From 02e86eaf58fb611e47a65a638d668f0e9dbebfa8 Mon Sep 17 00:00:00 2001 From: Liya Katz Date: Sun, 8 Sep 2024 14:16:11 +0300 Subject: [PATCH] set log level for clickhouse (#194) * set log level for clickhouse * Update Helm documentation --------- Co-authored-by: CometActions --- deployment/helm_chart/opik/README.md | 1 + .../opik/templates/clickhouse-operator-install-bundle.yaml | 2 +- deployment/helm_chart/opik/values.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deployment/helm_chart/opik/README.md b/deployment/helm_chart/opik/README.md index 0a62ce1271..3d6e1b6e20 100644 --- a/deployment/helm_chart/opik/README.md +++ b/deployment/helm_chart/opik/README.md @@ -94,6 +94,7 @@ Call opik api on http://localhost:5173/api | clickhouse.adminUser.useSecret.enabled | bool | `false` | | | clickhouse.adminUser.username | string | `"opik"` | | | clickhouse.image | string | `"altinity/clickhouse-server:24.3.5.47.altinitystable"` | | +| clickhouse.logsLevel | string | `"information"` | | | clickhouse.namePrefix | string | `"opik"` | | | clickhouse.operator.enabled | bool | `true` | | | clickhouse.replicasCount | int | `1` | | diff --git a/deployment/helm_chart/opik/templates/clickhouse-operator-install-bundle.yaml b/deployment/helm_chart/opik/templates/clickhouse-operator-install-bundle.yaml index 89f56a412c..fb7b429e0d 100644 --- a/deployment/helm_chart/opik/templates/clickhouse-operator-install-bundle.yaml +++ b/deployment/helm_chart/opik/templates/clickhouse-operator-install-bundle.yaml @@ -688,7 +688,7 @@ data: - debug + ${.Values.clickhouse.logsLevel} /var/log/clickhouse-server/clickhouse-server.log /var/log/clickhouse-server/clickhouse-server.err.log 1000M diff --git a/deployment/helm_chart/opik/values.yaml b/deployment/helm_chart/opik/values.yaml index b1a084e1e0..40cc64b1c5 100644 --- a/deployment/helm_chart/opik/values.yaml +++ b/deployment/helm_chart/opik/values.yaml @@ -170,6 +170,7 @@ clickhouse: replicasCount: 1 image: altinity/clickhouse-server:24.3.5.47.altinitystable storage: 50Gi + logsLevel: information adminUser: useSecret: enabled: false