英文:
Grafana Loki Helm Chart - Where to define the AWS S3 bucket name in the values.yaml file
问题
storage:
bucketNames:
chunks: chunks
ruler: ruler
admin: admin
type: s3
s3:
s3: null
endpoint: null
region: null
secretAccessKey: null
accessKeyId: null
s3ForcePathStyle: false
insecure: false
http_config: {}
我已创建了一个S3存储桶,并使用服务帐户授予对该存储桶的访问权限。请问有人可以帮助我了解如何使用新的helm chart配置 S3 存储桶吗?
英文:
I tried defining the bucket name under:
https://github.com/grafana/loki/blob/67c0b3ed2c1574db85673b796080aa87517b07d7/production/helm/loki/values.yaml#L219
but its throwing invalid bucket name
storage:
bucketNames:
chunks: chunks
ruler: ruler
admin: admin
type: s3
s3:
s3: null
endpoint: null
region: null
secretAccessKey: null
accessKeyId: null
s3ForcePathStyle: false
insecure: false
http_config: {}
I have created an S3 bucket and using the service account to provide access to the bucket.
Can some one help me with how you have used the S3 bucket using the new helm chart
答案1
得分: 1
在 bucketNames.chunks
字段中定义:
您可以在 helm-chart 存储库中搜索关键字的用法。例如,bucketNames
用于填充 S3 存储桶。请参见此处。
英文:
tldr: define in the bucketNames.chunks
field
You can search for the usage of the keywords in the helm-chart repo. For example, the bucketNames
is used to populate the s3 bucket. See here.
答案2
得分: 1
你可以按照以下方式传递存储桶的详细信息。您可以使用单个存储桶用于块、规则和管理,或者您可以使用不同的存储桶。
loki:
storage:
bucketNames:
chunks: aws-bucket-name
ruler: aws-bucket-name
admin: aws-bucket-name
type: s3
s3:
region: aws-region
auth_enabled: false
英文:
You can pass the bucket details as below. Either you can use the single bucket for chunk, ruler and admin or you can use different buckets.
loki:
storage:
bucketNames:
chunks: aws-bucket-name
ruler: aws-bucket-name
admin: aws-bucket-name
type: s3
s3:
region: aws-region
auth_enabled: false
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论