[zh] Sync mysql-configmap.yaml

This commit is contained in:
Mengjiao Liu
2022-04-12 14:57:13 +08:00
parent bc8c561815
commit 70cabe4a5b
@@ -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