Skip to content
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

Support for TreeHub in GKE #74

Open
doanac opened this issue Apr 4, 2019 · 1 comment
Open

Support for TreeHub in GKE #74

doanac opened this issue Apr 4, 2019 · 1 comment

Comments

@doanac
Copy link
Contributor

doanac commented Apr 4, 2019

I'm currently running TreeHub in Google Kubernetes Engine (GKE) cluster. Google storage supports interoperability with S3 buckets. I think the only thing required to make TreeHub work with this is a new optional config field maybe something like endpointUrl. And then the s3 client constructor (pardon my lack of Scala know-how) might be something like:

 private lazy val s3client = AmazonS3ClientBuilder.standard()
      .withCredentials(s3Credentials)
      .withRegion(s3Credentials.region)
      .withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration(s3Credentials.endpointUrl).build();
.build()

Any interest in adding support for this?

@simao
Copy link
Contributor

simao commented Apr 9, 2019

Yes, we could merge a PR adding support for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants