--- apiVersion:v1 kind:ConfigMap metadata: name:file-config data: file.conf:| ## transaction log store, only used in seata-server store { ## store mode: file、db、redis mode = "db"
## 填写数据库连接信息 db { ## the implement of javax.sql.DataSource, such as DruidDataSource(druid)/BasicDataSource(dbcp)/HikariDataSource(hikari) etc. datasource="druid" ## mysql/oracle/postgresql/h2/oceanbase etc. dbType="mysql" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://192.168.10.70:3306/seata" user="root" password="mamahao" minConn=5 maxConn=30 globalTable="global_table" branchTable="branch_table" lockTable="lock_table" queryLimit=100 maxWait=5000 } } --- apiVersion:v1 kind:ConfigMap metadata: name:seata-ha-server-config data: registry.conf:| registry { # eureka配置信息 # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa type = "eureka"