From 6df2adde8e595c093157433fe48209bc9725b0a7 Mon Sep 17 00:00:00 2001 From: Maarten de Waard <maarten@greenhost.nl> Date: Tue, 20 Jul 2021 14:55:45 +0200 Subject: [PATCH] lower retention_period to a multiple of chunks.period (1x168h) --- flux2/apps/monitoring/loki-release.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/flux2/apps/monitoring/loki-release.yaml b/flux2/apps/monitoring/loki-release.yaml index cd4cbeffb..9a8c2dd63 100644 --- a/flux2/apps/monitoring/loki-release.yaml +++ b/flux2/apps/monitoring/loki-release.yaml @@ -16,6 +16,10 @@ spec: name: grafana namespace: flux-system interval: 1h + install: + timeout: 15m + remediation: + retries: 2 values: # https://github.com/grafana/helm-charts/blob/main/charts/loki/values.yaml resources: @@ -66,10 +70,10 @@ spec: reject_old_samples: true reject_old_samples_max_age: 168h # 7 days chunk_store_config: - max_look_back_period: 192h # 8 days + max_look_back_period: 168h # 7 days table_manager: retention_deletes_enabled: true - retention_period: 192h # 8 days + retention_period: 168h # 7 days # Allow custom values either by configMap or by secret valuesFrom: - kind: ConfigMap -- GitLab