From 4c2daaa9ba584716037aa316f012c23567950428 Mon Sep 17 00:00:00 2001 From: pritamdas99 Date: Mon, 23 Dec 2024 14:07:26 +0600 Subject: [PATCH] Add support for mysql multi master node Signed-off-by: pritamdas99 --- content/post/kubedb-v2024.12.18/index.md | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/content/post/kubedb-v2024.12.18/index.md b/content/post/kubedb-v2024.12.18/index.md index 0b3a34cc..2fc2767e 100644 --- a/content/post/kubedb-v2024.12.18/index.md +++ b/content/post/kubedb-v2024.12.18/index.md @@ -692,6 +692,33 @@ spec: apply: Always ``` +### Multi Master Support +Multi-Primary support for Group Replication has been added in this release. MySQL version `8.4.2` or above supports Multi-Primary mode. You must specify `Multi-Primary` in the `.spec.topology.group.mode` section of MySQL Group Replication’s YAML configuration. By default, it operates in `Single-Primary` group mode. +Below is an example YAML configuration: + +```yaml +apiVersion: kubedb.com/v1alpha2 +kind: MySQL +metadata: + name: my-multi-primary + namespace: demo +spec: + version: "8.4.2" + replicas: 3 + topology: + mode: GroupReplication + group: + mode: Multi-Primary + storageType: Durable + storage: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + terminationPolicy: WipeOut +``` + Here you can mention the mode of group replication single or Multi primary, requireSSL and issuerRef for TLS secure connection on group replication mode. ## Postgres