当我负责安装最新版本prometheus-community/堆栈和thanos.io v0.25.2 thanos-storage-config.yaml时,我也有相同的错误:
type: s3
config:
bucket: monitoring-thanos-dev-metrics #S3 bucket name
endpoint: s3.ap-southeast-2.amazonaws.com #S3 Regional endpoint
encryptsse: true然后,thanos-sidecar、thanos-compactor和thanos-sotre显示了此错误msg:解封送出错误:\n第2行:字段加密在s3类型中找不到
发布于 2022-06-15 13:14:12
根据文件:
type: S3
config:
bucket: ""
endpoint: ""
region: ""
access_key: ""
insecure: false
signature_version2: false
encrypt_sse: false
secret_key: ""
put_user_metadata: {}
http_config:
idle_conn_timeout: 0s
response_header_timeout: 0s
insecure_skip_verify: false
trace:
enable: false
part_size: 0您似乎有一个键名类型:encrypt_sse
我也有类似的错误,为了解决这个问题,我刚刚删除了encrypt_sse: false键。
至少,您需要为桶、端点、access_key和secret_key键提供一个值。其余的键是可选的。
https://stackoverflow.com/questions/71840874
复制相似问题