mysql-operator icon indicating copy to clipboard operation
mysql-operator copied to clipboard

add Aliyun oss storage provider

Open buhe opened this issue 6 years ago • 5 comments

I add aliyun oss as storage provider for backup and restore mysql data. Aliyun OSS is popular in china , the landing page is https://www.alibabacloud.com/product/oss .

buhe avatar Mar 12 '19 03:03 buhe

Sorry for my lack of understanding but does Aliyun OSS not support an S3 compatible API?

It could even be worth running an instance of Minio in your cluster that will store the data to a mounted volume that way we don't need to maintain every storage provider here?

bweston92 avatar Mar 12 '19 09:03 bweston92

@bweston92

Thank reply Aliyun OSS is mainstream choice for many Chinese company (more than 70%) and add Minio as middle layer increment software architecture complex ,so i think it is reasonable.

BTW, Because AWS entering the Chinese market later ,S3 not so popular in China (less than 5%), I think this PR at least useful in China..

Minio:

  • https://github.com/minio/minio/blob/master/cmd/gateway/oss/gateway-oss.go

buhe avatar Mar 13 '19 07:03 buhe

Minio as a gateway would not be that much of an overhead compared to having to maintain it in the operator.

You could run the Minio gateway on the same cluster that will just simply proxy the request.

bweston92 avatar Mar 13 '19 20:03 bweston92

FYI: https://github.com/coreos/etcd-operator/blob/master/doc/user/oss_backup.md

buhe avatar Apr 09 '19 03:04 buhe

That’s fine, they might have the capacity to maintain it and enough users that warrant that.

I’m not a collaborator of this project so I don’t get to have any input. I just tried to help by getting you a solution quicker which was offering Minio to help.

bweston92 avatar Apr 09 '19 07:04 bweston92