-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Revamped Elasticsearch example #13025
Conversation
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
83cc0ac
to
c1ef927
Compare
I can see now that am missing the |
@pires thank you. I will try this out for myself and get back to you -- including the use of |
Labelling this PR as size/XXL |
@satnam6502 I imagine this week has been crazy but did you get a chance to try this out? |
Indeed, let me see what I can do today (my last day). |
I am very sorry -- I have totally run out of time on my last day and I won't have a chance to review this PR. Please can it be re-assigned to someone else? I vote for @a-robinson or @mikedanese |
@jimmidyson, would you be up for reviewing this? |
Only if I can be very harsh on @pires ;) |
@jimmidyson do your best, I'm always eager to learn! |
First impressions: really good work. I'd like to separate out instructions into a simple cluster, i.e. just master & data nodes, for simple deployments that are easy to try out without knowing about different elasticsearch node roles. Then the more production ready clustering instructions that are already there. What do you think? |
@jimmidyson I've gave some thought about that for a while - since I started my repo - and decided to keep it protip style. Why? Kubernetes cluster is a complex beast. Elasticsearch clusters are too. I for one can't commit to support people who don't understand the basics of either one. That said, I'm open to review any contributions that make this simpler. |
While I understand your reasons, I think both a basic setup & a more advanced setup would be the best approach for the Elasticsearch example. The examples are there for a couple of things IMO: to guide new Kubernetes users through different styles of deployments as well as being able to try out Kubernetes on small machines/VMs. This example is great for those wanting a large Elasticsearch cluster, but let's also consider those just starting out, perhaps with a single node install for development cluster or small projects. This is just too heavy for them IMO. While your master/data/client node separation is best practice for larger clusters, there are also cases where a e.g. three node cluster consisting of multifunction nodes is perfectly suited to provide required resilience & performance. While a Kubernetes cluster may be underneath a complex beast, every effort is made to make it as simple to operate as possible, as well as being suitable for clusters, both large & small. I feel that examples should aim to do the same. |
Also, get rid of the deprecated dir - this is definitely the right direction to go in so I think we're safe getting rid of it. |
I think I discussed this with @pires in a Hangout -- I think it would be good to have two Elasticsearch examples in two different directories. One example would be tutorial in nature and its primary use would be to help explain concepts. A second example in the other directory could describe a more realistic setup. That way we could tease apart two conflicting requirements? |
@satnam6502 You expressed it more clearly than I 👍 Exactly what I was thinking. |
@satnam6502 @jimmidyson please review. |
While maintaining CoreOS documentation, someone asked me to run the following command, but I don't understand what it does or why it's failing. Help?
|
Assigning to myself as a reviewer since github acls don't allow @jimmidyson to be the reviewer for some reason. Let me know when this is ok to merge... |
86b8fd9
to
1e6d702
Compare
So reading the build logs for you 😜 :
Looks to me like the |
This is ridiculous. @jimmidyson please come to my rescue (added you as collaborator) :/ P.S.: sorry but was on the phone. Where's the list of scripts we should run now? The docs munger thing worked pretty well, no errors. |
I'm learning the same as you... will push soon to this PR branch for you to squash once it passes I hope! |
We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm. |
1 similar comment
We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm. |
@pires Don't worry about the CLA thingy - once squashed you'll be sole author & it will go away. |
@pires Shock we have green from travis! |
@pires On to the next problem... see test failure in https://app.shippable.com/builds/55e8b2e8ef21fd0c000f1d36 |
We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm. |
1 similar comment
We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm. |
Updated examples tests... this is painful. |
No way! Shippable passed too!!!! @pires Please squash & push. |
…r with JRE 8u51 and Elasticsearch 1.7.1. Replaced Go discovery mechanism for Elasticsearch discovery plug-in that supports Kubernetes.
3f303dc
to
0a64995
Compare
@jimmidyson you're my yang. I admire your patience. Anyway, squashed and pushed. Thank you so much! |
@pires Happy to help. |
Yay! @brendandburns LGTM |
@k8s-bot ok to test
|
GCE e2e build/test passed for commit 0a64995. |
Thanks @pires for all your work on this. |
@jimmidyson thank you for your help and guidance. |
deprecated
./cc @satnam6502
You can find the sources for building the images here.