[ja]Sync mysql-configmap.yaml

This commit is contained in:
Mengjiao Liu 2022-04-12 15:08:27 +08:00
parent bc8c561815
commit 224b80dbc4
1 changed files with 6 additions and 4 deletions

View File

@ -5,12 +5,14 @@ metadata:
labels: labels:
app: mysql app: mysql
data: data:
master.cnf: | primary.cnf: |
# Apply this config only on the master. # Apply this config only on the primary.
[mysqld] [mysqld]
log-bin log-bin
slave.cnf: | datadir=/var/lib/mysql/mysql
# Apply this config only on slaves. replica.cnf: |
# Apply this config only on replicas.
[mysqld] [mysqld]
super-read-only super-read-only
datadir=/var/lib/mysql/mysql