-
Notifications
You must be signed in to change notification settings - Fork 116
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
Ability to mount an existing pvc to solr cloud pods for persistence. #663
Comments
Yep, observing the same behaviour. Double checking myself at this moment to be sure that this is not some typo from me. |
This is the current behavior of SolrCloud. The persistent PVC template provided in solr-operator/api/v1beta1/solrcloud_types.go Line 281 in 8e986e6
I'm thinking of adding this support in my own branch because I need this to use shared scalable file storage in aws. |
Solr needs different directories for each pod though, so I'm not exactly sure what a shared PVC would do for you (other than to be used for backups). That PVC can be mounted to Solr through |
From the perspective of the shared fs, the mounted dir will be different for each pod via the usage of
Then we can configure Solr home to be under This is just a starting idea here to separate compute from storage for Solr. Several cluster could be bootstrapped and mounted with a read-only PVC to inherit all the existing data without any copy & isolate heavy write workload from read traffic. It also allows the storage to scale horizontally without adding new nodes (which requires a rebalance of shards) just to name a few. Anyhow, I've prototyped a working version in my own branched that is tested to be working internally: thai-op@80addcd. If it's possible, do you might help me with shepherding / pr-reviewing it so we can have this feature in a future Solr operator version? |
I have a PVC created bound to a PV which is a Azure File Share.
While setting up solr cloud with persistence, I want to refer to this pvc. And updated the value as per documentation. This however seems to create different pvcs for each pod instead of using given one.
Version: 0.8
Aks 1.27
Anyone faced this or this is expected?
The text was updated successfully, but these errors were encountered: