Re: Solr cloud in kubernetes

2018-08-07 Thread jonasdkhansen
Hi, i also got this running https://github.com/freedev/solrcloud-zookeeper-kubernetes My problem is also that instance 2 and 3 will not start. If i exec into them, and run bin/solr start -cloud, then i can start them on another port than 32080, but thats not what we want. Is anyone having a sol

Re: Solr cloud in kubernetes

2018-07-18 Thread ssivashunm
https://github.com/freedev/solrcloud-zookeeper-kubernetes provides more detail about persistent disck usage for solr data and home. Th issue I face is, since all three statefulset will use the same solr port (as they are replicas) they are not communicating with one another. -- Sent from: h

Re: Solr cloud in kubernetes

2018-07-16 Thread Paweł Ruciński
Hi, I am trying to achieve same, to host Solr on k8s. For now, I successfully created ZK as a statefulset (3 instances) with a headless service. Apart of that created deployment objects for storing Solr pods (again 3 instances). For each solr pod I have manually created persistent volume. Now I am

Re: Solr cloud in kubernetes

2017-11-21 Thread Upayavira
We hopefully will switch to Kubernetes/Rancher 2.0 from Rancher 1.x/Docker, soon. Here are some utilities that we've used as run-once containers to start everything up: https://github.com/odoko-devops/solr-utils Using a single image, run with many different configurations, we have been able to s

Re: Solr cloud in kubernetes

2017-11-20 Thread Björn Häuser
Hi Raja, we are using solrcloud as a statefulset and every pod has its own storage attached to it. Thanks Björn > On 20. Nov 2017, at 05:59, rajasaur wrote: > > Hi Bjorn, > > Im trying a similar approach now (to get solrcloud working on kubernetes). I > have run Zookeeper as a statefulset, b

Re: Solr cloud in kubernetes

2017-11-19 Thread rajasaur
Hi Bjorn, Im trying a similar approach now (to get solrcloud working on kubernetes). I have run Zookeeper as a statefulset, but not running SolrCloud, which is causing an issue when my pods get destroyed and restarted. I will try running the -h option so that the SOLR_HOST is used when connecting

Re: Solr cloud in kubernetes

2017-08-29 Thread Björn Häuser
Hi Lars, sorry, external traffic is a wrong name. Basically all traffic to Solr goes through a k8s service which uses all solr pods as endpoints. Additionally we use another service for intra cluster communication. We do not use pod affinity. Feel free to ask more question if something is un

Re: Solr cloud in kubernetes

2017-08-28 Thread Lars Karlsson
Thanks Björn for the detailed information, just wanted to understand: When you say separate service for external traffic, does this mean a home brewed one that proxy solr queries? And what is the difference between the above and "solr discovery"? Do you specify pod anti affinity for solr hosts?

Re: Solr cloud in kubernetes

2017-08-26 Thread Björn Häuser
Hi Lars, we are running Solr in kubernetes and after some initial problems we are running quite stable now. Here is the setup we choose for solr: - separate service for external traffic to solr (called “solr”) - statefulset for solr with 3 replicas with another service (called “solr-discovery”

Solr cloud in kubernetes

2017-08-26 Thread Lars Karlsson
Hi, I wanted to hear if anyone successfully got solr cloud running on kubernetes and can share challenges and limitations. Can't find much uptodate github projects, would be great if you can point out blogposts or other useful links. Thanks in advance.