kubernetes-x/mysql-yaml/mysql-configmap.yaml

16 lines
259 B
YAML
Raw Normal View History

2024-04-07 00:14:13 +08:00
apiVersion: v1
kind: ConfigMap
metadata:
name: mysql
labels:
app: mysql
data:
master.cnf: |
# Apply this config only on the master.
[mysqld]
log-bin
slave.cnf: |
# Apply this config only on slaves.
[mysqld]
super-read-only