Skip to content

Commit

Permalink
Changing loki's table manager retention period (#580)
Browse files Browse the repository at this point in the history
Loki's table manager component requires the retention period to be a
multiple of the index period value. The initial retention period value
was changed from 0 (which is also an acceptable value) to 2160h in this
commit: b353895 which throws an error while deploying loki.

Reference:
- https://github.com/grafana/loki/blob/main/docs/sources/storage/_index.md?plain=1#L122-L127
- grafana/loki#2151 (comment)

Signed-off-by: saketjajoo <[email protected]>
  • Loading branch information
saketjajoo authored Jul 5, 2023
1 parent 6451477 commit 78258fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ data:
max_look_back_period: 0s
table_manager:
retention_deletes_enabled: true
retention_period: 2160h
retention_period: 2184h
---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit 78258fc

Please sign in to comment.