Skip to content

Commit

Permalink
Merge pull request #332 from periklis/backport-pr-13562-5.6
Browse files Browse the repository at this point in the history
[release-5.6] Backport PR for grafana#13562
  • Loading branch information
periklis authored Jul 17, 2024
2 parents c69109f + 32d7ef9 commit ccc6c77
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions operator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Release 5.6.21

- [13562](https://github.com/grafana/loki/pull/13562) **xperimental**: fix(operator): Set object storage for delete requests when using retention
- [8579](https://github.com/grafana/loki/pull/8579) **periklis**: operator: Remove deprecated field querier.engine.timeout
- [319](https://github.com/openshift/loki/pull/319) **periklis**: fix(operator): Disable structured metadata
- [13422](https://github.com/grafana/loki/pull/13422) **periklis** feat(operator): Update Loki operand to v3.1.0
Expand Down
1 change: 1 addition & 0 deletions operator/internal/manifests/internal/config/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1714,6 +1714,7 @@ compactor:
retention_enabled: true
retention_delete_delay: 4h
retention_delete_worker_count: 50
delete_request_store: s3
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
Expand Down
7 changes: 5 additions & 2 deletions operator/internal/manifests/internal/config/loki-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,14 @@ common:
compactor:
compaction_interval: 2h
working_directory: {{ .StorageDirectory }}/compactor
{{- if .Retention.Enabled }}{{- with .Retention }}
{{- if .Retention.Enabled }}
{{- with .Retention }}
retention_enabled: true
retention_delete_delay: 4h
retention_delete_worker_count: {{.DeleteWorkerCount}}
{{- end }}{{- end }}
{{- end }}
delete_request_store: {{.ObjectStorage.SharedStore}}
{{- end }}
frontend:
tail_proxy_url: {{ .Querier.Protocol }}://{{ .Querier.FQDN }}:{{ .Querier.Port }}
{{- if .Gates.HTTPEncryption }}
Expand Down

0 comments on commit ccc6c77

Please sign in to comment.