Skip to content
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

How to keep the configsets directiory in solr pods with deployed with helm chart #723

Open
saireddyb opened this issue Sep 11, 2024 · 1 comment

Comments

@saireddyb
Copy link

I have my collection configsets files and I want to keep them in /opt/solr-8.11.2/server/solr/configsets in this directory how to do that ?

@gerlowskija
Copy link
Contributor

gerlowskija commented Dec 12, 2024

Hey @saireddyb. Going forward - deployment/setup questions are usually best sent to our "users" mailing list at [email protected]. There are a lot more eyes on that list, so you're likely to get a quicker response.

To your question...

Solr, in theory, allows users to customize their "ConfigSetService" via a setting in the solr.xml config file. If you provide the value "FileSystemConfigSetService" for this setting, you may be able to get SolrCloud to read configsets from the filesystem instead of ZooKeeper. For configset changes to be visible on all Solr pods, your configset directory would need to be a volume mounted by all pods. See the docs here for how to customize the solr.xml used by solrcloud resources.

That said - "configSetService" is an expert-level setting, and customizing this beyond Solr's defaults should be done with caution and only if needed. Do you have a particular reason for wanting to store and access configsets from your pod filesystem? What's the end-goal that you're trying to accomplish by doing that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants