From f29e5af719a82b6e42f684b73c7dd02801b30e72 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Tue, 27 Jun 2023 00:43:04 +0200 Subject: [PATCH] Set a retention perriod for logs --- badhouseplants/values/values.loki.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/badhouseplants/values/values.loki.yaml b/badhouseplants/values/values.loki.yaml index 5feead7..0be3069 100644 --- a/badhouseplants/values/values.loki.yaml +++ b/badhouseplants/values/values.loki.yaml @@ -5,3 +5,7 @@ loki: auth_enabled: false commonConfig: replication_factor: 1 +compactor: + retention_enabled: true +limits_config: + retention_period: 2d