[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:
app: mysql
data:
master.cnf: |
# Apply this config only on the master.
primary.cnf: |
# Apply this config only on the primary.
[mysqld]
log-bin
slave.cnf: |
# Apply this config only on slaves.
datadir=/var/lib/mysql/mysql
replica.cnf: |
# Apply this config only on replicas.
[mysqld]
super-read-only
datadir=/var/lib/mysql/mysql