kubeasz/manifests/mysql-cluster/mysql-configmap.yaml

17 lines
260 B
YAML
Raw Normal View History

2019-01-30 21:28:37 +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