Hi everyone,
I’m currently working on deploying NocoBase on Kubernetes, and I would like to set up a highly available environment. Specifically, I want to run two similar NocoBase instances (as replicas) that use the same database. The goal is to have both instances running simultaneously, but if one crashes or becomes unavailable, the other can take over seamlessly.
Here are the key points of what I’m aiming for:
- Two NocoBase instances running on Kubernetes.
- Both instances share the same database.
I’m wondering if this setup is possible and if anyone has any tips or advice for achieving this with Kubernetes. Would load balancing or other tools be necessary to ensure smooth transitions between the two instances? Any guidance on managing the database connection and ensuring data consistency between the replicas would also be appreciated!
Thanks in advance for any help!