From a2c870348e90aba395f920e6cc7d2271a342143b Mon Sep 17 00:00:00 2001 From: Alon Maor <48641682+alonmr@users.noreply.github.com> Date: Sun, 22 Oct 2023 11:34:33 +0300 Subject: [PATCH] [MLRun] Add log collection log time update interval [Integ_3.5] (#1001) --- stable/mlrun/Chart.yaml | 2 +- stable/mlrun/templates/api-log-collector-config.yaml | 1 + stable/mlrun/values.yaml | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stable/mlrun/Chart.yaml b/stable/mlrun/Chart.yaml index 0985cd7a1..137a58feb 100644 --- a/stable/mlrun/Chart.yaml +++ b/stable/mlrun/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mlrun -version: 0.8.29 +version: 0.8.30 appVersion: 1.4.0 description: Machine Learning automation and tracking sources: diff --git a/stable/mlrun/templates/api-log-collector-config.yaml b/stable/mlrun/templates/api-log-collector-config.yaml index 168844b6c..2e48fefc9 100644 --- a/stable/mlrun/templates/api-log-collector-config.yaml +++ b/stable/mlrun/templates/api-log-collector-config.yaml @@ -15,4 +15,5 @@ data: MLRUN_LOG_COLLECTOR__GET_LOGS_BUFFER_POOL_SIZE: "{{ .Values.api.sidecars.logCollector.getLogsBufferPoolSize }}" MLRUN_LOG_COLLECTOR__LOG_COLLECTION_BUFFER_SIZE_BYTES: "{{ .Values.api.sidecars.logCollector.logCollectionBufferSizeBytes }}" MLRUN_LOG_COLLECTOR__GET_LOGS_BUFFER_SIZE_BYTES: "{{ .Values.api.sidecars.logCollector.getLogsBufferSizeBytes }}" + MLRUN_LOG_COLLECTOR__LOG_TIME_UPDATE_BYTES_INTERVAL: "{{ .Values.api.sidecars.logCollector.logTimeUpdateBytesInterval }}" {{- end }} diff --git a/stable/mlrun/values.yaml b/stable/mlrun/values.yaml index e37193efd..37be24875 100644 --- a/stable/mlrun/values.yaml +++ b/stable/mlrun/values.yaml @@ -272,6 +272,8 @@ api: getLogsBufferSizeBytes: "3932160" logCollectionBufferPoolSize: 512 getLogsBufferPoolSize: 512 + # 4KB ( 4 * 1024 = 4096 ) + logTimeUpdateBytesInterval: "4096" readLogWaitTime: "3s" stateFileUpdateInterval: "10s"