Hello,
I try to deploy Loki using Helm via simple scalable deployment chart 1.6.1 and Loki 2.5.0 image.
the both read & write pods containers have errors when connecting to the S3 endpoint, here’s my config :
data:
config.yaml: |
auth_enabled: true
common:
path_prefix: /var/loki
replication_factor: 3
storage:
s3:
access_key_id: <key_id>
bucketnames: loki
endpoint: https://my.s3.endpoint.com
insecure: false
region: null
s3: null
s3forcepathstyle: false
secret_access_key: <key_secret>
In logs I can see theses errors :
err=“RequestError: send request failed\ncaused by: Put "https://loki.my.s3.endpoint.com/dev/789eb3fff04dd168/181d40e30aa%3A181d47c42dc%3A1e1826a6\”: dial tcp: lookup loki.my.s3.endpoint.com on 10.111.0.10:53: no such host"
I don’t understand why the endpoint url is generated with the bucketname, that is create an unknown domain.
Thanks