Skip to content

Commit

Permalink
Add innodb and coordiantor support (#371)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
heheh13 authored Oct 10, 2021
1 parent 53ab0b1 commit f39255c
Show file tree
Hide file tree
Showing 27 changed files with 616 additions and 335 deletions.
15 changes: 4 additions & 11 deletions catalog/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,10 @@
"3.4.17-v1"
],
"MySQL": [
"8.0.26",
"8.0.23-v1",
"8.0.21-v2",
"8.0.20-v2",
"8.0.14-v3",
"8.0.3-v3",
"5.7.35",
"5.7.33-v1",
"5.7.31-v2",
"5.7.29-v2",
"5.7.25-v3"
"8.0.26-v1",
"8.0.26-innodb",
"8.0.3-v4",
"5.7.35-v1"
],
"PerconaXtraDB": [
"5.7",
Expand Down
17 changes: 4 additions & 13 deletions catalog/backup_tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,23 +109,14 @@
"5.0.2"
],
"mysql-backup-5.7.25": [
"5.7.35",
"5.7.33-v1",
"5.7.31-v2",
"5.7.29-v2",
"5.7.25-v3"
],
"mysql-backup-8.0.14": [
"8.0.14-v3"
"5.7.35-v1"
],
"mysql-backup-8.0.21": [
"8.0.26",
"8.0.23-v1",
"8.0.21-v2",
"8.0.20-v2"
"8.0.26-v1",
"8.0.26-innodb"
],
"mysql-backup-8.0.3": [
"8.0.3-v3"
"8.0.3-v4"
],
"percona-xtradb-backup-5.7": [
"5.7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,43 +1,36 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7.25-v3
name: 5.7-v2
spec:
db:
image: mysql:5.7.25
image: kubedb/mysql:5.7-v2
deprecated: true
distribution: Official
exporter:
image: prom/mysqld-exporter:v0.13.0
image: kubedb/mysqld-exporter:v0.11.0
initContainer:
image: kubedb/mysql-init:5.7
image: kubedb/busybox
podSecurityPolicies:
databasePolicyName: mysql-db
replicationModeDetector:
image: kubedb/replication-mode-detector:v0.9.0
stash:
addon:
backupTask:
name: mysql-backup-5.7.25
restoreTask:
name: mysql-restore-5.7.25
upgradeConstraints:
denylist:
allowlist:
groupReplication:
- < 5.7.25
- 8.0.20
- 8.0.19
- 5.7.25
standalone:
- < 5.7.25
- 5.7.25
version: 5.7.25

---
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7-v2
name: 5.7-v3
spec:
db:
image: kubedb/mysql:5.7-v2
image: kubedb/mysql:5.7.25
deprecated: true
distribution: Official
exporter:
Expand All @@ -60,7 +53,7 @@ spec:
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7-v3
name: 5.7.25
spec:
db:
image: kubedb/mysql:5.7.25
Expand All @@ -86,10 +79,10 @@ spec:
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7.25
name: 5.7.25-v1
spec:
db:
image: kubedb/mysql:5.7.25
image: kubedb/mysql:5.7.25-v1
deprecated: true
distribution: Official
exporter:
Expand All @@ -101,31 +94,39 @@ spec:
replicationModeDetector:
image: kubedb/replication-mode-detector:v0.9.0
upgradeConstraints:
allowlist:
denylist:
groupReplication:
- 5.7.25
- < 5.7.25
- 8.0.20
- 8.0.19
standalone:
- 5.7.25
- < 5.7.25
version: 5.7.25

---
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7.25-v1
name: 5.7.25-v2
spec:
db:
image: kubedb/mysql:5.7.25-v1
image: kubedb/mysql:5.7.25-v2
deprecated: true
distribution: Official
exporter:
image: kubedb/mysqld-exporter:v0.11.0
initContainer:
image: kubedb/busybox
image: kubedb/toybox:0.8.4
podSecurityPolicies:
databasePolicyName: mysql-db
replicationModeDetector:
image: kubedb/replication-mode-detector:v0.9.0
stash:
addon:
backupTask:
name: mysql-backup-5.7.25
restoreTask:
name: mysql-restore-5.7.25
upgradeConstraints:
denylist:
groupReplication:
Expand All @@ -140,16 +141,16 @@ spec:
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7.25-v2
name: 5.7.25-v3
spec:
db:
image: kubedb/mysql:5.7.25-v2
image: mysql:5.7.25
deprecated: true
distribution: Official
exporter:
image: kubedb/mysqld-exporter:v0.11.0
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: kubedb/toybox:0.8.4
image: kubedb/mysql-init:5.7
podSecurityPolicies:
databasePolicyName: mysql-db
replicationModeDetector:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7.29-v2
name: 5.7-v4
spec:
db:
image: mysql:5.7.29
image: kubedb/mysql:5.7.29
deprecated: true
distribution: Official
exporter:
image: prom/mysqld-exporter:v0.13.0
image: kubedb/mysqld-exporter:v0.11.0
initContainer:
image: kubedb/mysql-init:5.7
image: kubedb/busybox
podSecurityPolicies:
databasePolicyName: mysql-db
replicationModeDetector:
image: kubedb/replication-mode-detector:v0.9.0
stash:
addon:
backupTask:
name: mysql-backup-5.7.25
restoreTask:
name: mysql-restore-5.7.25
upgradeConstraints:
denylist:
groupReplication:
Expand All @@ -32,7 +27,7 @@ spec:
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7-v4
name: 5.7.29
spec:
db:
image: kubedb/mysql:5.7.29
Expand All @@ -58,20 +53,26 @@ spec:
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7.29
name: 5.7.29-v1
spec:
db:
image: kubedb/mysql:5.7.29
image: mysql:5.7.29-v1
deprecated: true
distribution: Official
exporter:
image: kubedb/mysqld-exporter:v0.11.0
initContainer:
image: kubedb/busybox
image: kubedb/toybox:0.8.4
podSecurityPolicies:
databasePolicyName: mysql-db
replicationModeDetector:
image: kubedb/replication-mode-detector:v0.9.0
stash:
addon:
backupTask:
name: mysql-backup-5.7.25
restoreTask:
name: mysql-restore-5.7.25
upgradeConstraints:
denylist:
groupReplication:
Expand All @@ -84,16 +85,16 @@ spec:
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7.29-v1
name: 5.7.29-v2
spec:
db:
image: mysql:5.7.29-v1
image: mysql:5.7.29
deprecated: true
distribution: Official
exporter:
image: kubedb/mysqld-exporter:v0.11.0
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: kubedb/toybox:0.8.4
image: kubedb/mysql-init:5.7
podSecurityPolicies:
databasePolicyName: mysql-db
replicationModeDetector:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7.31-v2
name: 5.7.31
spec:
db:
image: mysql:5.7.31
image: kubedb/mysql:5.7.31
deprecated: true
distribution: Official
exporter:
image: prom/mysqld-exporter:v0.13.0
image: kubedb/mysqld-exporter:v0.11.0
initContainer:
image: kubedb/mysql-init:5.7
image: kubedb/busybox
podSecurityPolicies:
databasePolicyName: mysql-db
replicationModeDetector:
image: kubedb/replication-mode-detector:v0.9.0
stash:
addon:
backupTask:
name: mysql-backup-5.7.25
restoreTask:
name: mysql-restore-5.7.25
upgradeConstraints:
denylist:
groupReplication:
Expand All @@ -32,20 +27,26 @@ spec:
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7.31
name: 5.7.31-v1
spec:
db:
image: kubedb/mysql:5.7.31
image: kubedb/mysql:5.7.31-v1
deprecated: true
distribution: Official
exporter:
image: kubedb/mysqld-exporter:v0.11.0
initContainer:
image: kubedb/busybox
image: kubedb/toybox:0.8.4
podSecurityPolicies:
databasePolicyName: mysql-db
replicationModeDetector:
image: kubedb/replication-mode-detector:v0.9.0
stash:
addon:
backupTask:
name: mysql-backup-5.7.25
restoreTask:
name: mysql-restore-5.7.25
upgradeConstraints:
denylist:
groupReplication:
Expand All @@ -58,16 +59,16 @@ spec:
apiVersion: catalog.kubedb.com/v1alpha1
kind: MySQLVersion
metadata:
name: 5.7.31-v1
name: 5.7.31-v2
spec:
db:
image: kubedb/mysql:5.7.31-v1
image: mysql:5.7.31
deprecated: true
distribution: Official
exporter:
image: kubedb/mysqld-exporter:v0.11.0
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: kubedb/toybox:0.8.4
image: kubedb/mysql-init:5.7
podSecurityPolicies:
databasePolicyName: mysql-db
replicationModeDetector:
Expand Down
Loading

0 comments on commit f39255c

Please sign in to comment.