freedev / solrcloud-zookeeper-kubernetes

Run Solrcloud and Zookeeper in a Kubernetes environment
Apache License 2.0
57 stars 29 forks source link

Multiple solr nodes #2

Closed jefferyyuan closed 5 years ago

jefferyyuan commented 5 years ago

We can only run one solr node using provided kubernetes files, could you please update it so we can run multiple solr nodes? Thanks.

piratebriggs commented 5 years ago

You could have a look at #5 - You'll need a ScaledSet, switch to using a volumeClaimTemplates and some way for the solr nodes to discover each other - I use a headless service in the PR which follows the ZooKeeper example published on kubernetes.io

freedev commented 5 years ago

Hi, I've just added a new AKS configuration for multiple Solr and Zookeeper nodes. If someone has time and desire to test it any contribution is really appreciated. Have a look at start-aks-solr-cluster.sh and start-aks-zookeeper-ensemble.sh scripts.

freedev commented 5 years ago

Hi, I've redesigned the solution. Now there is full support for multiple node configuration.