【发布时间】:2022-06-24 15:19:56
【问题描述】:
我对 Kubernetes、Helm 和 Loki 还很陌生。
我已经使用 Helm 图表在我的 minikube 集群上部署了 Loki-stack,我正在尝试使用 S3 存储作为 Loki 日志的存储。
我尝试将 documentation of Loki 中的以下内容添加到我的自定义图表中,并将其自定义为我正在运行的 S3 实例。
schema_config:
configs:
- from: 2020-05-15
store: aws
object_store: s3
schema: v11
index:
prefix: loki_
storage_config:
aws:
bucketnames: bucket_name1, bucket_name2
endpoint: s3.endpoint.com
region: s3_region
access_key_id: s3_access_key_id
secret_access_key: s3_secret_access_key
insecure: false
sse_encryption: false
http_config:
idle_conn_timeout: 90s
response_header_timeout: 0s
insecure_skip_verify: false
s3forcepathstyle: true
我确保自定义区域、存储桶名称、端点等。 但是 Loki 并没有在那里存储任何日志。我需要一些帮助来告诉我我可能遗漏了什么或做错了什么?
【问题讨论】:
标签: amazon-s3 logging kubernetes-helm grafana-loki loki