-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
objstore : implement Aliyun OSS #1573
Changes from all commits
f7b22c7
e7a5d5d
79b43df
d3f7eae
1cb9cb1
8f818df
21f758f
a0cdef1
96620b9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ Current object storage client implementations: | |
| [Azure Storage Account](./storage.md#azure) | Stable (production usage) | yes | @vglafirov | | ||
| [OpenStack Swift](./storage.md#openstack-swift) | Beta (working PoCs, testing usage) | no | @sudhi-vm | | ||
| [Tencent COS](./storage.md#tencent-cos) | Beta (testing usage) | no | @jojohappy | | ||
| [AliYun OSS](./storage.md#aliyun-oss) | Beta (testing usage) | no | @shaulboozhiao,@wujinhu | | ||
|
||
NOTE: Currently Thanos requires strong consistency (write-read) for object store implementation. | ||
|
||
|
@@ -336,3 +337,20 @@ config: | |
``` | ||
|
||
Set the flags `--objstore.config-file` to reference to the configuration file. | ||
|
||
## AliYun OSS Configuration | ||
In order to use AliYun OSS object storage, you should first create a bucket with proper Storage Class , ACLs and get the access key on the AliYun cloud. Go to [https://www.alibabacloud.com/product/oss](https://www.alibabacloud.com/product/oss) for more detail. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What proper There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is the same meaning with S3 https://aws.amazon.com/s3/storage-classes/?nc1=h_ls |
||
|
||
To use AliYun OSS object storage, please specify following yaml configuration file in `objstore.config*` flag. | ||
|
||
[embedmd]:# (flags/config_bucket_aliyunoss.txt $) | ||
```$ | ||
type: ALIYUNOSS | ||
config: | ||
endpoint: "" | ||
bucket: "" | ||
access_key_id: "" | ||
access_key_secret: "" | ||
``` | ||
|
||
Use --objstore.config-file to reference to this configuration file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍