Merge pull request #32871 from mengjiao-liu/sync_configmap_yaml_zh

[zh] Sync mysql-configmap.yaml
This commit is contained in:
Kubernetes Prow Robot
2022-04-12 04:01:24 -07:00
committed by GitHub
@@ -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