Skip to content

Commit

Permalink
include all lifecycler ring config
Browse files Browse the repository at this point in the history
  • Loading branch information
sboschman committed Apr 10, 2019
1 parent 5132a97 commit bdacf39
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 1 addition & 2 deletions production/helm/loki/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ limits_config:
ingester:
lifecycler:
ring:
store: {{ .Values.config.ingester.lifecycler.ring.store }}
replication_factor: {{ .Values.config.ingester.lifecycler.ring.replication_factor }}
{{ toYaml .Values.config.ingester.lifecycler.ring | indent 6 }}
chunk_idle_period: 15m

{{- if .Values.config.schema_configs }}
Expand Down
10 changes: 10 additions & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ config:
ring:
store: inmemory
replication_factor: 1

## Different ring configs can be used. E.g. Consul
# ring:
# store: consul
# replication_factor: 1
# consul:
# host: "consul:8500"
# prefix: ""
# httpclienttimeout: "20s"
# consistentreads: true
schema_configs:
- from: 0
store: boltdb
Expand Down

0 comments on commit bdacf39

Please sign in to comment.