-
Notifications
You must be signed in to change notification settings - Fork 52
MySQL Topology Mode Change #1036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sheikh-arman
wants to merge
6
commits into
master
Choose a base branch
from
my-mode
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
5701e3d
docs/mysql: split mode transform into remote-replica and topology-mod…
sheikh-arman e2c408f
docs/mysql: rename replication-mode-transform subdir to remote-replic…
sheikh-arman 719b792
Follow the targetMode -> targetTopologyMode rename
sheikh-arman 1c699a5
Scope mode transform to Standalone and RemoteReplica sources
sheikh-arman 1e9dd65
Merge branch 'master' into my-mode
sheikh-arman 95adbf9
Merge branch 'master' into my-mode
sheikh-arman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
.../guides/mysql/replication-mode-transform/topology-mode-change/examples/my-standalone.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| apiVersion: kubedb.com/v1 | ||
| kind: MySQL | ||
| metadata: | ||
| name: my-standalone | ||
| namespace: demo | ||
| spec: | ||
| version: "8.4.8" | ||
| replicas: 1 | ||
| storageType: Durable | ||
| storage: | ||
| accessModes: | ||
| - ReadWriteOnce | ||
| resources: | ||
| requests: | ||
| storage: 1Gi | ||
| deletionPolicy: WipeOut |
14 changes: 14 additions & 0 deletions
14
...eplication-mode-transform/topology-mode-change/examples/promote-to-group-replication.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| apiVersion: ops.kubedb.com/v1alpha1 | ||
| kind: MySQLOpsRequest | ||
| metadata: | ||
| name: promote-to-gr | ||
| namespace: demo | ||
| spec: | ||
| type: ReplicationModeTransformation | ||
| databaseRef: | ||
| name: my-standalone | ||
| replicationModeTransformation: | ||
| targetTopologyMode: GroupReplication | ||
| mode: Single-Primary | ||
| timeout: 15m | ||
| apply: Always |
14 changes: 14 additions & 0 deletions
14
...l/replication-mode-transform/topology-mode-change/examples/promote-to-innodb-cluster.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| apiVersion: ops.kubedb.com/v1alpha1 | ||
| kind: MySQLOpsRequest | ||
| metadata: | ||
| name: promote-to-innodb | ||
| namespace: demo | ||
| spec: | ||
| type: ReplicationModeTransformation | ||
| databaseRef: | ||
| name: my-standalone | ||
| replicationModeTransformation: | ||
| targetTopologyMode: InnoDBCluster | ||
| mode: Single-Primary | ||
| timeout: 15m | ||
| apply: Always |
14 changes: 14 additions & 0 deletions
14
...ql/replication-mode-transform/topology-mode-change/examples/promote-to-multi-primary.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| apiVersion: ops.kubedb.com/v1alpha1 | ||
| kind: MySQLOpsRequest | ||
| metadata: | ||
| name: promote-to-multi-primary | ||
| namespace: demo | ||
| spec: | ||
| type: ReplicationModeTransformation | ||
| databaseRef: | ||
| name: my-standalone | ||
| replicationModeTransformation: | ||
| targetTopologyMode: GroupReplication | ||
| mode: Multi-Primary | ||
| timeout: 15m | ||
| apply: Always |
13 changes: 13 additions & 0 deletions
13
...s/mysql/replication-mode-transform/topology-mode-change/examples/promote-to-semisync.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| apiVersion: ops.kubedb.com/v1alpha1 | ||
| kind: MySQLOpsRequest | ||
| metadata: | ||
| name: promote-to-semisync | ||
| namespace: demo | ||
| spec: | ||
| type: ReplicationModeTransformation | ||
| databaseRef: | ||
| name: my-standalone | ||
| replicationModeTransformation: | ||
| targetTopologyMode: SemiSync | ||
| timeout: 15m | ||
| apply: Always |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: kubedb/docs
Length of output: 50368
🏁 Script executed:
Repository: kubedb/docs
Length of output: 309
🏁 Script executed:
Repository: kubedb/docs
Length of output: 13990
Describe the TLS fields separately.
requireSSLandissuerRefare worded interchangeably here. Clarify thatspec.replicationModeTransformation.requireSSLenables required TLS replication, whileissuerRefandcertificatesare used to issue/provision the certificate material; an issuer reference alone does not mean replication is encrypted.🤖 Prompt for AI Agents