diff --git a/production/helm/loki/templates/_helpers.tpl b/production/helm/loki/templates/_helpers.tpl index 9187b96add24b76546d4561f6d41d69b2ae07524..22a3f2711c30a1255af006117e42bda6818385bc 100644 --- a/production/helm/loki/templates/_helpers.tpl +++ b/production/helm/loki/templates/_helpers.tpl @@ -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 }} diff --git a/production/helm/loki/values.yaml b/production/helm/loki/values.yaml index 801d4e9594cc47a0642cdf2e8d231e422de1e52d..28b210f8f0907155b9a5e52a6c4312d6c2543960 100644 --- a/production/helm/loki/values.yaml +++ b/production/helm/loki/values.yaml @@ -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