You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "cdmikechen (Jira)" <ji...@apache.org> on 2022/03/19 10:45:00 UTC

[jira] [Created] (SUBMARINE-1225) database.replicas should not be provided in CRD

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: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org