Write in Solr during Kubernetes Deployment

3/18/2018

I'm trying to deploy Solr Cloud into Kubernetes using StatefulSets. My problem is that if I'm writing into Solr during a rolling update of the statefulset I get errors when I reach the deployment of the solr cluster leader. With just reads I can deploy Solr Cloud without any problems - using the SolrCloudClient in java. I've already tried rebalancing the leader on the preStop Hook of the leader but I still get errors on the SolrCloudClient writes... Does anyone have any tips on how to do a rolling update of Solr Cloud without any errors even during writes? Thank you

-- Bruno René Santos
kubernetes
kubernetes-statefulset
solr

0 Answers