website/content/bn/examples/application/mysql/mysql-configmap.yaml

17 lines
299 B
YAML
Raw Normal View History

2024-05-07 16:26:24 +00:00
apiVersion: v1
kind: ConfigMap
metadata:
name: mysql
labels:
app: mysql
app.kubernetes.io/name: mysql
data:
primary.cnf: |
# Apply this config only on the primary.
[mysqld]
log-bin
replica.cnf: |
# Apply this config only on replicas.
[mysqld]
super-read-only