b867289ad2
The gitea service needs an HA shared filesystem, which is provided by cephfs and managed by rook.io. It also needs a database service, which is provided by percona-xtradb-cluster. Change-Id: Ie019c2e24c3780cec2468a00987dba4ac34ed570
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
|