I’ve been looking into how to run Moqui in Kubernetes and I’m wondering if anyone is running Moqui in Kubernetes.
If anyone is, what are some recommendations that you suggest for running it?
Do you use an ingress controller? If so which one?
How do you handle having multiple instances of Moqui? Do you have elastic search setup to act as a cluster? Do you have one database or do you use a multi tenant model?
How do you leverage hazelcast’s session sharing?
Thanks for any comments. It’d help me a great deal
Hi Michael, we use Kubernetes for moqui, and gitlabs CI/CD to generate the container images and serve them to the cluster.
For review and testing environments we create 4 deployments for each moqui environment: moqui, elasticsearch, postgres and kibana. This way, when we terminate those deployments, we do not need to do any additional clean-up.
For production environments we have been using the same approach as it worked well, but are considering to switch to using shared clusters for at least postgres (same server but different databases, so no multi-tenant) and elasticsearch.
For ingress controller, we use ingress-nginx-controller, and hazelcast works well in our case with the AwsDiscoveryStrategy.
And about the database, we are looking into setting up Cloud Native PostgreSQL (https://cloudnative-pg.io/) as it is fully open sourced as of May 2022.
@girindrag is working with me to help setup infrastructure for Xolve Group. Any details anyone can share generally on the topic of docker and kubernetes will be helpful. We are curating detailed documentation as we go and will share publicly when it is ready. @girindrag please post any specific questions that you have.