Closed mehdicopter closed 3 years ago
We could still attach an existing PVC to the deployment and set the number of replicas to 1 ?
We could still attach an existing PVC to the deployment and set the number of replicas to 1?
Using a statefulset have advantages beyond this:
Also, this kind of changes should have been discussed first in a new issue, instead as part of a PR.
You are right. I'll close this and create an other PR just for templating then. Thanks !
Hi @mehdicopter !
Thanks for your contribution. Indeed it would be more interesting to have a discussion in an issue as @renehernandez points out! But glad to see your interest, and always interested in any feedback!
FYI in MeiliSearch roadmap, the Core Team is working on High Availability which will enable us soon to have a consistent replication policy, and we will find the best way to fit this in Kubernetes! As for now, it is not possible to make several MeiliSearch instances use the same DB, which makes replication a little bit tricky indeed, and so we are more into a single stateful deployment situation :)