cdmikechen opened a new pull request #913: URL: https://github.com/apache/submarine/pull/913
### What is this PR for? Change the database from deployment to statefulset, so we can avoid some locking table/database problems when upgrading or restarting database server. ### What type of PR is it? Refactoring ### Todos * [x] - Remove database.replicas in CRD. The current database configuration does not support HA or cluster mode. Delete this configuration to avoid unnecessary database problems. There are already relevant JIRA issues: https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-1225 * [x] - Replace database resource definition from deployment to statefulset in submarine-operator ### What is the Jira issue? https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-1165 ### How should this be tested? Should be tested by exists cases. ### Screenshots (if appropriate) No ### Questions: * Do the license files need updating? No * Are there breaking changes for older versions? Yes * Does this need new documentation? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
