24 lines
604 B
YAML
24 lines
604 B
YAML
![]() |
kind: ConfigMap
|
||
|
apiVersion: v1
|
||
|
metadata:
|
||
|
name: gitea-pxc-config-files
|
||
|
labels:
|
||
|
app: gitea-pxc
|
||
|
namespace: gitea-db
|
||
|
data:
|
||
|
node.cnf: |+
|
||
|
[mysqld]
|
||
|
datadir=/var/lib/mysql
|
||
|
default_storage_engine=InnoDB
|
||
|
binlog_format=ROW
|
||
|
innodb_flush_log_at_trx_commit = 0
|
||
|
innodb_flush_method = O_DIRECT
|
||
|
innodb_file_per_table = 1
|
||
|
innodb_autoinc_lock_mode=2
|
||
|
bind_address = 0.0.0.0
|
||
|
wsrep_slave_threads=2
|
||
|
wsrep_cluster_address=gcomm://
|
||
|
wsrep_provider=/usr/lib/galera3/libgalera_smm.so
|
||
|
wsrep_cluster_name=galera
|
||
|
wsrep_sst_method=xtrabackup-v2
|