-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Use docker to build cassandra jar file #201
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
Conversation
It'd be great if you can find someone else who knows cassandra a little bit better than I do to review this, perhaps someone from sig-storage can help. |
If this is good to go, do you mind finding a reviewer (perhaps the original developers of Cassandra example, or we can mention [@]kubernetes/sig-storage-pr-reviews). |
Sorry I was late to review this. I don't understand the domain much but the code looks good + you're the owner for this example now. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahmetb, aledbf The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@aledbf Let me know if the image needs re-pushing. |
@ahmetb yes, you need to publish the image. |
@aledbf this fails to build:
|
My bad I probably should've used the makefile to build/push. |
I pushed |
* from before kubernetes/examples#201, * because that introduced a new Go / CGo shared library dependency which we don't want to have to bundle into our pilot image.
Hi @aledbf. What was the motivation for introducing the Go shared library? We were using the pure Java Kubernetes seed provider, but the addition of a Go shared library makes it more difficult for us to re-use this in Navigator. Not complaining, just grumbling 😉 |
Why?
Because doing this in go is cleaner than the previous code and also we can use client-go |
We're trying to use the Kubernetes Seed provider with the Cassandra images hosted on Dockerhub, not the images built for this demo.
Ok. Thanks for clarifying. But note @chrislovecnm 's original plan was that this seed provider code might eventually be moved into the Cassandra code base:
With that in mind, I'd have thought it more likely to be accepted as a pure java implementation, perhaps using the official Java client for Kubernetes: https://github.com/kubernetes-client/java Have you any plans to move the Kubernetes Seed Provider to a dedicated repository? |
@aledbf : when we tried gcr.io/google-samples/cassandra:v14 & 13 : we got below error i tried above example with aledbf/cassandra:v15 and it worked . not sure whats the difference between i see aledbf/cassandra:v15 got merged could you point me committed image(seems aledbf/cassandra:v15 is a test image) |
@madireddyr It doesn't look like the |
Test image:
aledbf/cassandra:v15
This PR also replaces the java code with a go shared library.
fixes #190
fixes #147