Open ilovemysillybanana opened 3 years ago
@ilovemysillybanana - did you manage to find a solution?
Same issue here - any inputs? Did you find a solution @ilovemysillybanana and @grvhi?
@grvhi @simonwh @ilovemysillybanana
I used the below with some success:
memberlist:
randomize_node_name: false
join_members:
- {{ include "loki.fullname" . }}-memberlist.{{namespace}}.svc.cluster.local
ingester:
# Disable chunk transfer which is not possible with statefulsets
# and unnecessary for boltdb-shipper
max_transfer_retries: 0
chunk_idle_period: 1h
chunk_target_size: 1536000
max_chunk_age: 1h
# set autoforget_unhealthy to true for troubleshooting purposes
autoforget_unhealthy: false
lifecycler:
join_after: 0s
ring:
kvstore:
store: memberlist
replication_factor: 1
The example in this location here is incomplete and does not work. It seems to lack a compactor according to this question on stackoverflow.
Even with that added, I am not able to get it to work. Loki still comes up in microservice mode however, the service is not pushing anything to my s3 bucket.
This is what my configuration looks like:
Compactor doesn't really say much:
The querier responds with this when I try to test my configuration via Grafana:
I've noticed that they all seem to take a while to connect to the "ring" and they usually say they found 1 or 2 instances as the following example from the loki-distributor-ingester service shows:
Could this be because they're doing everything in memory instead of through AWS/S3? Any guidance would be appreciated.