Skip to content

Commit

Permalink
MySQL Replication Mode Transform Ops-Request
Browse files Browse the repository at this point in the history
Signed-off-by: Ashraful Haque Tani <[email protected]>
  • Loading branch information
AshrafulHaqueToni committed Jan 2, 2025
1 parent fb9aa30 commit 8a51d2f
Show file tree
Hide file tree
Showing 4 changed files with 517 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guides/mysql/clustering/remote-replica/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ section_menu_id: guides
# KubeDB - MySQL Remote Replica

This tutorial will show you how to use KubeDB to provision a MySQL Remote Replica from a kubedb managed mysql instance. Remote replica can used in in or across cluster
This tutorial will show you how to use KubeDB to provision a MySQL Remote Replica from a KubeDB managed mysql instance. Remote replica can use in or across cluster


## Before You Begin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This guide will give an overview on how KubeDB Ops Manager transform replication
The following diagram shows how KubeDB Ops Manager transform replication mode of `MySQL` database components. Open the image in a new tab to see the enlarged version.

<figure align="center">
  <img alt="Volume Expansion process of MySQL" src="/docs/guides/mysql/replication-mode-transform/overview/images/replication-mode-transform.svg">
<img alt="Volume Expansion process of MySQL" src="/docs/guides/mysql/replication-mode-transform/overview/images/replication-mode-transform.svg">
<figcaption align="center">Fig: Replication Mode Transform process of MySQL</figcaption>
</figure>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: ops.kubedb.com/v1alpha1
kind: MySQLOpsRequest
metadata:
name: mysql-replication-mode-transform
namespace: demo
spec:
type: ReplicationModeTransformation
databaseRef:
name: mysql-london
replicationModeTransformation:
mode: Multi-Primary
requireSSL: true
issuerRef:
apiGroup: cert-manager.io
kind: Issuer
name: mysql-issuer
certificates:
- alias: server
subject:
organizations:
- kubedb:server
dnsNames:
- localhost
ipAddresses:
- "127.0.0.1"
timeout: 10m
apply: Always
Loading

0 comments on commit 8a51d2f

Please sign in to comment.