cdmikechen created SUBMARINE-1225:
-------------------------------------
Summary: database.replicas should not be provided in CRD
Key: SUBMARINE-1225
URL: https://issues.apache.org/jira/browse/SUBMARINE-1225
Project: Apache Submarine
Issue Type: Bug
Components: Cloud-native Deployment
Reporter: cdmikechen
The MySQL database image currently used is not configured with HA mode or
cluster mode, so *replica* should not be provided, otherwise unpredictable
read-write problems will be triggered.
A better suggestion is that the operator can support ussing MySQL database
outside the service to support multi nodes MySQL, or use other mysql operators
(such as [percona xtradb
cluster|https://www.percona.com/doc/kubernetes-operator-for-pxc/index.html] or
[mysql-operator|https://github.com/mysql/mysql-operator]). And then use
[SUBMARINE-1185|https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-1185]
to initialize the database based on [flyway|https://flywaydb.org/].
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]