Skip to content

Add MySQL Replication Mode Transform Ops-Request #733

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
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/examples/druid/quickstart/mysql-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: mysql-demo
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
storage:
storageClassName: "standard"
accessModes:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/Initialization/demo-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: mysql-init-script
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
storage:
storageClassName: "standard"
accessModes:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/cli/mysql-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: mysql-demo
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
storage:
storageClassName: "standard"
accessModes:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/clustering/demo-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: my-group
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 3
topology:
mode: GroupReplication
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/configuration/mysql-custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: custom-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
configSecret:
name: my-custom-config
storage:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/custom-rbac/my-custom-db-two.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: minute-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
storageType: Durable
podTemplate:
spec:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/custom-rbac/my-custom-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: quick-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
storageType: Durable
podTemplate:
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: my-group
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 3
topology:
mode: GroupReplication
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/monitoring/builtin-prom-mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: builtin-prom-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
deletionPolicy: WipeOut
storage:
storageClassName: "standard"
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/monitoring/coreos-prom-mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: coreos-prom-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
deletionPolicy: WipeOut
storage:
storageClassName: "standard"
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/private-registry/demo-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: mysql-pvt-reg
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
storage:
storageClassName: "standard"
accessModes:
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/quickstart/demo-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: mysql-quickstart
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
storageType: Durable
storage:
storageClassName: "standard"
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/tls/tls-group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: my-group-tls
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 3
topology:
mode: GroupReplication
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/tls/tls-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: my-standalone-tls
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
storageType: Durable
storage:
storageClassName: "standard"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
databaseRef:
name: my-group
updateVersion:
targetVersion: "8.0.35"
targetVersion: "9.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
name: my-standalone
type: UpdateVersion
updateVersion:
targetVersion: "8.0.35"
targetVersion: "9.1.0"
2 changes: 1 addition & 1 deletion docs/examples/mysql/verticalscaling/group_replication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: my-group
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 3
topology:
mode: GroupReplication
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/mysql/verticalscaling/standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: my-standalone
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
storageType: Durable
storage:
storageClassName: "standard"
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/druid/backup/application-level/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Here, we have to use service `sample-druid-routers` and secret `sample-druid-adm
```bash
kubectl get mysql,zk -n demo
NAME VERSION STATUS AGE
mysql.kubedb.com/sample-druid-mysql-metadata 8.0.35 Ready 6m31s
mysql.kubedb.com/sample-druid-mysql-metadata 9.1.0 Ready 6m31s

NAME TYPE VERSION STATUS AGE
zookeeper.kubedb.com/sample-druid-zk kubedb.com/v1alpha2 3.7.2 Ready 6m31s
Expand All @@ -184,7 +184,7 @@ Verify that the `AppBinding` has been created successfully using the following c
$ kubectl get appbindings -n demo
NAME TYPE VERSION AGE
sample-druid kubedb.com/druid 30.0.1 4m7s
sample-druid-mysql-metadata kubedb.com/mysql 8.0.35 6m31s
sample-druid-mysql-metadata kubedb.com/mysql 9.1.0 6m31s
sample-druid-zk kubedb.com/zookeeper 3.7.2 6m34s
```

Expand Down Expand Up @@ -716,7 +716,7 @@ Verify the dependencies have been restored:
```bash
$ kubectl get mysql,zk -n dev
NAME VERSION STATUS AGE
mysql.kubedb.com/restored-druid-mysql-metadata 8.0.35 Ready 2m52s
mysql.kubedb.com/restored-druid-mysql-metadata 9.1.0 Ready 2m52s

NAME TYPE VERSION STATUS AGE
zookeeper.kubedb.com/restored-druid-zk kubedb.com/v1alpha2 3.7.2 Ready 2m42s
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/druid/backup/cross-ns-dependencies/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Here, we have to use service `sample-druid-routers` and secret `sample-druid-adm
```bash
$ kubectl get mysql -n dev1
NAME VERSION STATUS AGE
mysql.kubedb.com/my-dev1 8.0.35 Ready 6m31s
mysql.kubedb.com/my-dev1 9.1.0 Ready 6m31s

$ kubectl get zk -n dev
NAME TYPE VERSION STATUS AGE
Expand All @@ -203,7 +203,7 @@ sample-druid kubedb.com/druid 30.0.1 4m7s

$ kubectl get appbindings -n dev1
NAME TYPE VERSION AGE
my-dev1 kubedb.com/mysql 8.0.35 6m31s
my-dev1 kubedb.com/mysql 9.1.0 6m31s

$ kubectl get appbindings -n dev
NAME TYPE VERSION AGE
Expand Down Expand Up @@ -815,7 +815,7 @@ Verify the dependencies have been restored:
```bash
$ $ kubectl get mysql -n dev1
NAME VERSION STATUS AGE
mysql.kubedb.com/my-dev1 8.0.35 Ready 6m30s
mysql.kubedb.com/my-dev1 9.1.0 Ready 6m30s

$ kubectl get zk -n dev
NAME TYPE VERSION STATUS AGE
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/druid/backup/logical/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Verify that the `AppBinding` has been created successfully using the following c
$ kubectl get appbindings -n demo
NAME TYPE VERSION AGE
sample-druid kubedb.com/druid 30.0.1 2m26s
sample-druid-mysql-metadata kubedb.com/mysql 8.0.35 5m40s
sample-druid-mysql-metadata kubedb.com/mysql 9.1.0 5m40s
sample-druid-zk kubedb.com/zookeeper 3.7.2 5m43s
```

Expand Down
4 changes: 2 additions & 2 deletions docs/guides/druid/clustering/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Spec:
Name: druid-cluster-mysql-metadata
Namespace: demo
Type: MySQL
Version: 8.0.35
Version: 9.1.0
Topology:
Brokers:
Pod Template:
Expand Down Expand Up @@ -568,7 +568,7 @@ Spec:
Name: druid-cluster-mysql-metadata
Namespace: demo
Type: MySQL
Version: 8.0.35
Version: 9.1.0
Topology:
Brokers:
Pod Template:
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/druid/quickstart/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Spec:
Name: druid-quickstart-mysql-metadata
Namespace: demo
Type: MySQL
Version: 8.0.35
Version: 9.1.0
Service Templates:
Alias: primary
Metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sample-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 3
topology:
mode: GroupReplication
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/mysql/autoscaler/compute/cluster/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ metadata:
name: sample-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 3
topology:
mode: GroupReplication
Expand Down Expand Up @@ -90,7 +90,7 @@ Now, wait until `sample-mysql` has status `Ready`. i.e,
```bash
$ kubectl get mysql -n demo
NAME VERSION STATUS AGE
sample-mysql 8.0.35 Ready 14m
sample-mysql 9.1.0 Ready 14m
```

Let's check the Pod containers resources,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sample-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 3
topology:
mode: GroupReplication
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/mysql/autoscaler/storage/cluster/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ metadata:
name: sample-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 3
topology:
mode: GroupReplication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
stash.appscode.com/backup-blueprint: mysql-backup-template
stash.appscode.com/schedule: "*/3 * * * *"
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 1
storageType: Durable
storage:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
stash.appscode.com/backup-blueprint: mysql-backup-template
params.stash.appscode.com/args: --databases mysql
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 1
storageType: Durable
storage:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
annotations:
stash.appscode.com/backup-blueprint: mysql-backup-template
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 1
storageType: Durable
storage:
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/mysql/backup/stash/auto-backup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ metadata:
annotations:
stash.appscode.com/backup-blueprint: mysql-backup-template
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 1
storageType: Durable
storage:
Expand Down Expand Up @@ -321,7 +321,7 @@ metadata:
stash.appscode.com/backup-blueprint: mysql-backup-template
stash.appscode.com/schedule: "*/3 * * * *"
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 1
storageType: Durable
storage:
Expand Down Expand Up @@ -510,7 +510,7 @@ metadata:
stash.appscode.com/backup-blueprint: mysql-backup-template
params.stash.appscode.com/args: --databases mysql
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 1
storageType: Durable
storage:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sample-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 1
storageType: Durable
storage:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: restored-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 1
storageType: Durable
storage:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sample-mysql
namespace: demo
spec:
version: "8.0.35"
version: "9.1.0"
replicas: 1
storageType: Durable
storage:
Expand Down
Loading
Loading