diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b33c2a0251..317c95118d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,6 +63,9 @@ jobs: kubectl create -f https://github.com/stashed/installer/raw/master/crds/stash-crds.yaml kubectl create -f https://github.com/kubevault/installer/raw/master/crds/kubevault-crds.yaml kubectl create -f https://github.com/kubedb/installer/raw/master/crds/kubedb-crds.yaml + kubectl create -f https://github.com/kubernetes-csi/external-snapshotter/raw/master/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml + kubectl create -f https://github.com/kubestash/apimachinery/raw/master/crds/storage.kubestash.com_backupstorages.yaml + kubectl create -f https://github.com/kubestash/apimachinery/raw/master/crds/storage.kubestash.com_retentionpolicies.yaml - name: Check codespan schema run: | diff --git a/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-replicaset.yaml b/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-replicaset.yaml index 524f6de7b2..b225adb307 100644 --- a/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-replicaset.yaml +++ b/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-replicaset.yaml @@ -9,9 +9,10 @@ spec: name: mg-replicaset verticalScaling: replicaSet: - requests: - memory: "1.2Gi" - cpu: "0.6" - limits: - memory: "1.2Gi" - cpu: "0.6" + resources: + requests: + memory: "1.2Gi" + cpu: "0.6" + limits: + memory: "1.2Gi" + cpu: "0.6" diff --git a/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-shard.yaml b/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-shard.yaml index c613ecf23b..1f87fd0af5 100644 --- a/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-shard.yaml +++ b/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-shard.yaml @@ -9,23 +9,26 @@ spec: name: mg-sharding verticalScaling: shard: - requests: - memory: "1100Mi" - cpu: "0.55" - limits: - memory: "1100Mi" - cpu: "0.55" + resources: + requests: + memory: "1100Mi" + cpu: "0.55" + limits: + memory: "1100Mi" + cpu: "0.55" configServer: - requests: - memory: "1100Mi" - cpu: "0.55" - limits: - memory: "1100Mi" - cpu: "0.55" + resources: + requests: + memory: "1100Mi" + cpu: "0.55" + limits: + memory: "1100Mi" + cpu: "0.55" mongos: - requests: - memory: "1100Mi" - cpu: "0.55" - limits: - memory: "1100Mi" - cpu: "0.55" + resources: + requests: + memory: "1100Mi" + cpu: "0.55" + limits: + memory: "1100Mi" + cpu: "0.55" diff --git a/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-standalone.yaml b/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-standalone.yaml index a5dd046c08..56561f14f3 100644 --- a/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-standalone.yaml +++ b/docs/examples/mongodb/scaling/vertical-scaling/mops-vscale-standalone.yaml @@ -9,9 +9,10 @@ spec: name: mg-standalone verticalScaling: standalone: - requests: - memory: "2Gi" - cpu: "1" - limits: - memory: "2Gi" - cpu: "1" + resources: + requests: + memory: "2Gi" + cpu: "1" + limits: + memory: "2Gi" + cpu: "1" diff --git a/docs/examples/mysql/Initialization/demo-1.yaml b/docs/examples/mysql/Initialization/demo-1.yaml index 21db8d0bd5..4544bb9804 100644 --- a/docs/examples/mysql/Initialization/demo-1.yaml +++ b/docs/examples/mysql/Initialization/demo-1.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-init-script namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storage: storageClassName: "standard" accessModes: diff --git a/docs/examples/mysql/cli/mysql-demo.yaml b/docs/examples/mysql/cli/mysql-demo.yaml index be5f16c08c..addd02e541 100644 --- a/docs/examples/mysql/cli/mysql-demo.yaml +++ b/docs/examples/mysql/cli/mysql-demo.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-demo namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storage: storageClassName: "standard" accessModes: diff --git a/docs/examples/mysql/clustering/demo-1.yaml b/docs/examples/mysql/clustering/demo-1.yaml index e62de33b19..25d93bcfb2 100644 --- a/docs/examples/mysql/clustering/demo-1.yaml +++ b/docs/examples/mysql/clustering/demo-1.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/examples/mysql/configuration/mysql-custom.yaml b/docs/examples/mysql/configuration/mysql-custom.yaml index 404c7d8313..45016cadcf 100644 --- a/docs/examples/mysql/configuration/mysql-custom.yaml +++ b/docs/examples/mysql/configuration/mysql-custom.yaml @@ -4,7 +4,7 @@ metadata: name: custom-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" configSecret: name: my-custom-config storage: diff --git a/docs/examples/mysql/configuration/mysql-misc-config.yaml b/docs/examples/mysql/configuration/mysql-misc-config.yaml index 633661d79e..aa83e77999 100644 --- a/docs/examples/mysql/configuration/mysql-misc-config.yaml +++ b/docs/examples/mysql/configuration/mysql-misc-config.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-misc-config namespace: demo spec: - version: "5.7.41" + version: "5.7.44" storageType: "Durable" storage: storageClassName: "standard" diff --git a/docs/examples/mysql/custom-rbac/my-custom-db-two.yaml b/docs/examples/mysql/custom-rbac/my-custom-db-two.yaml index 7c21c507f5..029a81ffae 100644 --- a/docs/examples/mysql/custom-rbac/my-custom-db-two.yaml +++ b/docs/examples/mysql/custom-rbac/my-custom-db-two.yaml @@ -4,7 +4,7 @@ metadata: name: minute-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable podTemplate: spec: diff --git a/docs/examples/mysql/custom-rbac/my-custom-db.yaml b/docs/examples/mysql/custom-rbac/my-custom-db.yaml index a67d6a173a..11bddb8c97 100644 --- a/docs/examples/mysql/custom-rbac/my-custom-db.yaml +++ b/docs/examples/mysql/custom-rbac/my-custom-db.yaml @@ -4,7 +4,7 @@ metadata: name: quick-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable podTemplate: spec: diff --git a/docs/examples/mysql/horizontalscaling/group_replication.yaml b/docs/examples/mysql/horizontalscaling/group_replication.yaml index ae2d91571b..a18eb3cfef 100644 --- a/docs/examples/mysql/horizontalscaling/group_replication.yaml +++ b/docs/examples/mysql/horizontalscaling/group_replication.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/examples/mysql/monitoring/builtin-prom-mysql.yaml b/docs/examples/mysql/monitoring/builtin-prom-mysql.yaml index fef95f3b0b..c107c98c9b 100644 --- a/docs/examples/mysql/monitoring/builtin-prom-mysql.yaml +++ b/docs/examples/mysql/monitoring/builtin-prom-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: builtin-prom-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" terminationPolicy: WipeOut storage: storageClassName: "standard" diff --git a/docs/examples/mysql/monitoring/coreos-prom-mysql.yaml b/docs/examples/mysql/monitoring/coreos-prom-mysql.yaml index 1604b98425..2243c6b4ac 100644 --- a/docs/examples/mysql/monitoring/coreos-prom-mysql.yaml +++ b/docs/examples/mysql/monitoring/coreos-prom-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: coreos-prom-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" terminationPolicy: WipeOut storage: storageClassName: "standard" diff --git a/docs/examples/mysql/private-registry/demo-2.yaml b/docs/examples/mysql/private-registry/demo-2.yaml index 7bfd4db624..0dcddb779b 100644 --- a/docs/examples/mysql/private-registry/demo-2.yaml +++ b/docs/examples/mysql/private-registry/demo-2.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-pvt-reg namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storage: storageClassName: "standard" accessModes: diff --git a/docs/examples/mysql/quickstart/demo-2.yaml b/docs/examples/mysql/quickstart/demo-2.yaml index b4c6d1ad47..770912e63a 100644 --- a/docs/examples/mysql/quickstart/demo-2.yaml +++ b/docs/examples/mysql/quickstart/demo-2.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-quickstart namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/examples/mysql/tls/tls-group.yaml b/docs/examples/mysql/tls/tls-group.yaml index 7937ebc3ef..4fd8925e09 100644 --- a/docs/examples/mysql/tls/tls-group.yaml +++ b/docs/examples/mysql/tls/tls-group.yaml @@ -4,7 +4,7 @@ metadata: name: my-group-tls namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/examples/mysql/tls/tls-standalone.yaml b/docs/examples/mysql/tls/tls-standalone.yaml index 110cabb671..6a23dea7d9 100644 --- a/docs/examples/mysql/tls/tls-standalone.yaml +++ b/docs/examples/mysql/tls/tls-standalone.yaml @@ -4,7 +4,7 @@ metadata: name: my-standalone-tls namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/examples/mysql/update-version/majorversion/group_replication.yaml b/docs/examples/mysql/update-version/majorversion/group_replication.yaml index 8a76c2b8da..e90a9c9b4e 100644 --- a/docs/examples/mysql/update-version/majorversion/group_replication.yaml +++ b/docs/examples/mysql/update-version/majorversion/group_replication.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/examples/mysql/update-version/majorversion/standalone.yaml b/docs/examples/mysql/update-version/majorversion/standalone.yaml index d6a03c25eb..b06ee2cd5b 100644 --- a/docs/examples/mysql/update-version/majorversion/standalone.yaml +++ b/docs/examples/mysql/update-version/majorversion/standalone.yaml @@ -4,7 +4,7 @@ metadata: name: my-standalone namespace: demo spec: - version: "5.7.41" + version: "5.7.44" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/examples/mysql/update-version/majorversion/update_major_version_group.yaml b/docs/examples/mysql/update-version/majorversion/update_major_version_group.yaml index 56fbc1ee7e..a9b98708d2 100644 --- a/docs/examples/mysql/update-version/majorversion/update_major_version_group.yaml +++ b/docs/examples/mysql/update-version/majorversion/update_major_version_group.yaml @@ -8,4 +8,4 @@ spec: databaseRef: name: my-group updateVersion: - targetVersion: "8.0.32" \ No newline at end of file + targetVersion: "8.0.35" \ No newline at end of file diff --git a/docs/examples/mysql/update-version/majorversion/update_major_version_standalone.yaml b/docs/examples/mysql/update-version/majorversion/update_major_version_standalone.yaml index 4a4f12e921..8e1477480f 100644 --- a/docs/examples/mysql/update-version/majorversion/update_major_version_standalone.yaml +++ b/docs/examples/mysql/update-version/majorversion/update_major_version_standalone.yaml @@ -8,4 +8,4 @@ spec: name: my-standalone type: UpdateVersion updateVersion: - targetVersion: "8.0.32" \ No newline at end of file + targetVersion: "8.0.35" \ No newline at end of file diff --git a/docs/examples/mysql/update-version/minorversion/group_replication.yaml b/docs/examples/mysql/update-version/minorversion/group_replication.yaml index 8a76c2b8da..e90a9c9b4e 100644 --- a/docs/examples/mysql/update-version/minorversion/group_replication.yaml +++ b/docs/examples/mysql/update-version/minorversion/group_replication.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/examples/mysql/update-version/minorversion/standalone.yaml b/docs/examples/mysql/update-version/minorversion/standalone.yaml index d6a03c25eb..b06ee2cd5b 100644 --- a/docs/examples/mysql/update-version/minorversion/standalone.yaml +++ b/docs/examples/mysql/update-version/minorversion/standalone.yaml @@ -4,7 +4,7 @@ metadata: name: my-standalone namespace: demo spec: - version: "5.7.41" + version: "5.7.44" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/examples/mysql/update-version/minorversion/update_minor_version_group.yaml b/docs/examples/mysql/update-version/minorversion/update_minor_version_group.yaml index 7dffdc022c..618a58eb7b 100644 --- a/docs/examples/mysql/update-version/minorversion/update_minor_version_group.yaml +++ b/docs/examples/mysql/update-version/minorversion/update_minor_version_group.yaml @@ -8,4 +8,4 @@ spec: databaseRef: name: my-group updateVersion: - targetVersion: "5.7.41" \ No newline at end of file + targetVersion: "5.7.44" \ No newline at end of file diff --git a/docs/examples/mysql/update-version/minorversion/update_minor_version_standalone.yaml b/docs/examples/mysql/update-version/minorversion/update_minor_version_standalone.yaml index c3d89b3cbf..a37ead33ae 100644 --- a/docs/examples/mysql/update-version/minorversion/update_minor_version_standalone.yaml +++ b/docs/examples/mysql/update-version/minorversion/update_minor_version_standalone.yaml @@ -8,4 +8,4 @@ spec: name: my-standalone type: UpdateVersion updateVersion: - targetVersion: "5.7.41" \ No newline at end of file + targetVersion: "5.7.44" \ No newline at end of file diff --git a/docs/examples/mysql/verticalscaling/group_replication.yaml b/docs/examples/mysql/verticalscaling/group_replication.yaml index ae2d91571b..a18eb3cfef 100644 --- a/docs/examples/mysql/verticalscaling/group_replication.yaml +++ b/docs/examples/mysql/verticalscaling/group_replication.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/examples/mysql/verticalscaling/standalone.yaml b/docs/examples/mysql/verticalscaling/standalone.yaml index 8b9f128bfb..56ef5f11e0 100644 --- a/docs/examples/mysql/verticalscaling/standalone.yaml +++ b/docs/examples/mysql/verticalscaling/standalone.yaml @@ -4,7 +4,7 @@ metadata: name: my-standalone namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/examples/mysql/verticalscaling/vertical_scale_group.yaml b/docs/examples/mysql/verticalscaling/vertical_scale_group.yaml index 1688321e02..679506aa9b 100644 --- a/docs/examples/mysql/verticalscaling/vertical_scale_group.yaml +++ b/docs/examples/mysql/verticalscaling/vertical_scale_group.yaml @@ -4,14 +4,15 @@ metadata: name: my-scale-group namespace: demo spec: - type: VerticalScaling + type: VerticalScaling databaseRef: name: my-group verticalScaling: mysql: - requests: - memory: "200Mi" - cpu: "0.1" - limits: - memory: "300Mi" - cpu: "0.2" \ No newline at end of file + resources: + requests: + memory: "200Mi" + cpu: "0.1" + limits: + memory: "300Mi" + cpu: "0.2" \ No newline at end of file diff --git a/docs/examples/mysql/verticalscaling/vertical_scale_standalone.yaml b/docs/examples/mysql/verticalscaling/vertical_scale_standalone.yaml index a74cb66823..8f03d1294c 100644 --- a/docs/examples/mysql/verticalscaling/vertical_scale_standalone.yaml +++ b/docs/examples/mysql/verticalscaling/vertical_scale_standalone.yaml @@ -4,14 +4,15 @@ metadata: name: my-scale-standalone namespace: demo spec: - type: VerticalScaling + type: VerticalScaling databaseRef: name: my-standalone verticalScaling: mysql: - requests: - memory: "200Mi" - cpu: "0.1" - limits: - memory: "300Mi" - cpu: "0.2" \ No newline at end of file + resources: + requests: + memory: "200Mi" + cpu: "0.1" + limits: + memory: "300Mi" + cpu: "0.2" \ No newline at end of file diff --git a/docs/examples/pgbouncer/monitoring/grafana.yaml b/docs/examples/pgbouncer/monitoring/grafana.yaml index d157fba9e3..43007e11de 100644 --- a/docs/examples/pgbouncer/monitoring/grafana.yaml +++ b/docs/examples/pgbouncer/monitoring/grafana.yaml @@ -17,4 +17,4 @@ spec: spec: containers: - name: grafana - image: grafana/grafana:6.2.5 + image: grafana/grafana:6.2.14 diff --git a/docs/examples/pgbouncer/private-registry/pvt-pgbouncerversion.yaml b/docs/examples/pgbouncer/private-registry/pvt-pgbouncerversion.yaml index 00e74efa51..a09fa0cfaa 100644 --- a/docs/examples/pgbouncer/private-registry/pvt-pgbouncerversion.yaml +++ b/docs/examples/pgbouncer/private-registry/pvt-pgbouncerversion.yaml @@ -1,7 +1,7 @@ apiVersion: catalog.kubedb.com/v1alpha1 kind: PostgresVersion metadata: - name: "13.2" + name: "13.13" spec: coordinator: image: PRIVATE_REGISTRY/pg-coordinator:v0.1.0 @@ -20,4 +20,4 @@ spec: name: postgres-backup-13.1 restoreTask: name: postgres-restore-13.1 - version: "13.2" + version: "13.13" diff --git a/docs/examples/pgbouncer/quickstart/quick-postgres.yaml b/docs/examples/pgbouncer/quickstart/quick-postgres.yaml index 7941c7a84e..7baa3aed63 100644 --- a/docs/examples/pgbouncer/quickstart/quick-postgres.yaml +++ b/docs/examples/pgbouncer/quickstart/quick-postgres.yaml @@ -5,7 +5,7 @@ metadata: namespace: demo spec: replicas: 1 - version: "13.2" + version: "13.13" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/examples/postgres/clustering/ha-postgres.yaml b/docs/examples/postgres/clustering/ha-postgres.yaml index 8e262d77e2..3a6a74a85f 100644 --- a/docs/examples/postgres/clustering/ha-postgres.yaml +++ b/docs/examples/postgres/clustering/ha-postgres.yaml @@ -4,7 +4,7 @@ metadata: name: ha-postgres namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 storageType: Durable storage: diff --git a/docs/examples/postgres/clustering/hot-postgres.yaml b/docs/examples/postgres/clustering/hot-postgres.yaml index 6db9b795b1..89fc329d47 100644 --- a/docs/examples/postgres/clustering/hot-postgres.yaml +++ b/docs/examples/postgres/clustering/hot-postgres.yaml @@ -4,7 +4,7 @@ metadata: name: hot-postgres namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Hot storageType: Durable diff --git a/docs/examples/postgres/custom-config/pg-custom-config.yaml b/docs/examples/postgres/custom-config/pg-custom-config.yaml index fa7c6b4377..45b0ff71eb 100644 --- a/docs/examples/postgres/custom-config/pg-custom-config.yaml +++ b/docs/examples/postgres/custom-config/pg-custom-config.yaml @@ -4,7 +4,7 @@ metadata: name: custom-postgres namespace: demo spec: - version: "13.2" + version: "13.13" configSecret: name: pg-custom-config storage: diff --git a/docs/examples/postgres/custom-rbac/pg-custom-db-two.yaml b/docs/examples/postgres/custom-rbac/pg-custom-db-two.yaml index ef6b774222..386d5b090d 100644 --- a/docs/examples/postgres/custom-rbac/pg-custom-db-two.yaml +++ b/docs/examples/postgres/custom-rbac/pg-custom-db-two.yaml @@ -7,7 +7,7 @@ metadata: app.kubernetes.io/component: database app.kubernetes.io/instance: quick-postgres spec: - version: "13.2" + version: "13.13" storageType: Durable podTemplate: spec: diff --git a/docs/examples/postgres/custom-rbac/pg-custom-db.yaml b/docs/examples/postgres/custom-rbac/pg-custom-db.yaml index 74499b289d..ab5222e02c 100644 --- a/docs/examples/postgres/custom-rbac/pg-custom-db.yaml +++ b/docs/examples/postgres/custom-rbac/pg-custom-db.yaml @@ -7,7 +7,7 @@ metadata: app.kubernetes.io/component: database app.kubernetes.io/instance: quick-postgres spec: - version: "13.2" + version: "13.13" storageType: Durable podTemplate: spec: diff --git a/docs/examples/postgres/custom-version/postgresversion.yaml b/docs/examples/postgres/custom-version/postgresversion.yaml index 5e911790b4..11fb13e1a0 100644 --- a/docs/examples/postgres/custom-version/postgresversion.yaml +++ b/docs/examples/postgres/custom-version/postgresversion.yaml @@ -20,4 +20,4 @@ spec: name: postgres-backup-13.1 restoreTask: name: postgres-restore-13.1 - version: "13.2" + version: "13.13" diff --git a/docs/examples/postgres/initialization/script-postgres.yaml b/docs/examples/postgres/initialization/script-postgres.yaml index f4cec33839..696c9ab28d 100644 --- a/docs/examples/postgres/initialization/script-postgres.yaml +++ b/docs/examples/postgres/initialization/script-postgres.yaml @@ -4,7 +4,7 @@ metadata: name: script-postgres namespace: demo spec: - version: "13.2" + version: "13.13" storage: storageClassName: "standard" accessModes: diff --git a/docs/examples/postgres/monitoring/builtin-prom-postgres.yaml b/docs/examples/postgres/monitoring/builtin-prom-postgres.yaml index ef5831614e..148a3c5982 100644 --- a/docs/examples/postgres/monitoring/builtin-prom-postgres.yaml +++ b/docs/examples/postgres/monitoring/builtin-prom-postgres.yaml @@ -4,7 +4,7 @@ metadata: name: builtin-prom-postgres namespace: demo spec: - version: "13.2" + version: "13.13" terminationPolicy: WipeOut storage: storageClassName: "standard" diff --git a/docs/examples/postgres/monitoring/coreos-prom-postgres.yaml b/docs/examples/postgres/monitoring/coreos-prom-postgres.yaml index e843b4e4fa..a0e62a57b1 100644 --- a/docs/examples/postgres/monitoring/coreos-prom-postgres.yaml +++ b/docs/examples/postgres/monitoring/coreos-prom-postgres.yaml @@ -4,7 +4,7 @@ metadata: name: coreos-prom-postgres namespace: demo spec: - version: "13.2" + version: "13.13" terminationPolicy: WipeOut storage: storageClassName: "standard" diff --git a/docs/examples/postgres/pg-overview.yaml b/docs/examples/postgres/pg-overview.yaml index ee7d3ef07b..1d27823f32 100644 --- a/docs/examples/postgres/pg-overview.yaml +++ b/docs/examples/postgres/pg-overview.yaml @@ -4,7 +4,7 @@ metadata: name: p1 namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 2 standbyMode: Hot streamingMode: Asynchronous diff --git a/docs/examples/postgres/private-registry/pvt-postgresversion.yaml b/docs/examples/postgres/private-registry/pvt-postgresversion.yaml index 00e74efa51..a09fa0cfaa 100644 --- a/docs/examples/postgres/private-registry/pvt-postgresversion.yaml +++ b/docs/examples/postgres/private-registry/pvt-postgresversion.yaml @@ -1,7 +1,7 @@ apiVersion: catalog.kubedb.com/v1alpha1 kind: PostgresVersion metadata: - name: "13.2" + name: "13.13" spec: coordinator: image: PRIVATE_REGISTRY/pg-coordinator:v0.1.0 @@ -20,4 +20,4 @@ spec: name: postgres-backup-13.1 restoreTask: name: postgres-restore-13.1 - version: "13.2" + version: "13.13" diff --git a/docs/examples/postgres/private-registry/pvt-reg-postgres.yaml b/docs/examples/postgres/private-registry/pvt-reg-postgres.yaml index fb9a04e12a..9e47cfa919 100644 --- a/docs/examples/postgres/private-registry/pvt-reg-postgres.yaml +++ b/docs/examples/postgres/private-registry/pvt-reg-postgres.yaml @@ -4,7 +4,7 @@ metadata: name: pvt-reg-postgres namespace: demo spec: - version: "13.2" + version: "13.13" storage: storageClassName: "standard" accessModes: diff --git a/docs/examples/postgres/quickstart/instant-postgres.yaml b/docs/examples/postgres/quickstart/instant-postgres.yaml index 64d9987d7b..e59bec341f 100644 --- a/docs/examples/postgres/quickstart/instant-postgres.yaml +++ b/docs/examples/postgres/quickstart/instant-postgres.yaml @@ -4,5 +4,5 @@ metadata: name: instant-postgres namespace: demo spec: - version: "13.2" + version: "13.13" storageType: Ephemeral diff --git a/docs/examples/postgres/quickstart/quick-postgres.yaml b/docs/examples/postgres/quickstart/quick-postgres.yaml index b160da87da..04f711ee59 100644 --- a/docs/examples/postgres/quickstart/quick-postgres.yaml +++ b/docs/examples/postgres/quickstart/quick-postgres.yaml @@ -4,7 +4,7 @@ metadata: name: quick-postgres namespace: demo spec: - version: "13.2" + version: "13.13" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/examples/postgres/synchronous/postgres.yaml b/docs/examples/postgres/synchronous/postgres.yaml index 29cd884dfe..14435a16f8 100644 --- a/docs/examples/postgres/synchronous/postgres.yaml +++ b/docs/examples/postgres/synchronous/postgres.yaml @@ -4,7 +4,7 @@ metadata: name: demo-pg namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Hot streamingMode: Synchronous diff --git a/docs/examples/proxysql/demo-my-group.yaml b/docs/examples/proxysql/demo-my-group.yaml index a762fbadae..7c4c4ab04f 100644 --- a/docs/examples/proxysql/demo-my-group.yaml +++ b/docs/examples/proxysql/demo-my-group.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/examples/redis/autoscaling/compute/rd-standalone.yaml b/docs/examples/redis/autoscaling/compute/rd-standalone.yaml index 7966be076a..d7105b6f07 100644 --- a/docs/examples/redis/autoscaling/compute/rd-standalone.yaml +++ b/docs/examples/redis/autoscaling/compute/rd-standalone.yaml @@ -4,7 +4,7 @@ metadata: name: rd-standalone namespace: demo spec: - version: "6.2.5" + version: "6.2.14" storageType: Durable storage: resources: diff --git a/docs/examples/redis/autoscaling/compute/sentinel.yaml b/docs/examples/redis/autoscaling/compute/sentinel.yaml index a80c4b761f..ac4ac6000d 100644 --- a/docs/examples/redis/autoscaling/compute/sentinel.yaml +++ b/docs/examples/redis/autoscaling/compute/sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: sen-demo namespace: demo spec: - version: "6.2.5" + version: "6.2.14" storageType: Durable replicas: 3 storage: diff --git a/docs/examples/redis/autoscaling/storage/rd-standalone.yaml b/docs/examples/redis/autoscaling/storage/rd-standalone.yaml index 2dd7b531de..8406fdd5cd 100644 --- a/docs/examples/redis/autoscaling/storage/rd-standalone.yaml +++ b/docs/examples/redis/autoscaling/storage/rd-standalone.yaml @@ -4,7 +4,7 @@ metadata: name: rd-standalone namespace: demo spec: - version: "6.2.5" + version: "6.2.14" storageType: Durable storage: storageClassName: topolvm-provisioner diff --git a/docs/examples/redis/cli/redis-demo.yaml b/docs/examples/redis/cli/redis-demo.yaml index 5dc4c9308c..87c5df341c 100644 --- a/docs/examples/redis/cli/redis-demo.yaml +++ b/docs/examples/redis/cli/redis-demo.yaml @@ -4,7 +4,7 @@ metadata: name: redis-demo namespace: demo spec: - version: 6.0.6 + version: 6.0.20 storage: storageClassName: "standard" accessModes: diff --git a/docs/examples/redis/clustering/demo-1.yaml b/docs/examples/redis/clustering/demo-1.yaml index 4ad4819f4a..4257afb75d 100644 --- a/docs/examples/redis/clustering/demo-1.yaml +++ b/docs/examples/redis/clustering/demo-1.yaml @@ -4,7 +4,7 @@ metadata: name: redis-cluster namespace: demo spec: - version: 6.2.5 + version: 6.2.14 mode: Cluster cluster: master: 3 diff --git a/docs/examples/redis/custom-config/redis-custom.yaml b/docs/examples/redis/custom-config/redis-custom.yaml index c8ceed6863..6e22ae4815 100644 --- a/docs/examples/redis/custom-config/redis-custom.yaml +++ b/docs/examples/redis/custom-config/redis-custom.yaml @@ -4,7 +4,7 @@ metadata: name: custom-redis namespace: demo spec: - version: 6.2.5 + version: 6.2.14 configSecret: name: rd-configuration storage: diff --git a/docs/examples/redis/custom-rbac/rd-custom-db-two.yaml b/docs/examples/redis/custom-rbac/rd-custom-db-two.yaml index 42eeabc4cb..1acc12bd0b 100644 --- a/docs/examples/redis/custom-rbac/rd-custom-db-two.yaml +++ b/docs/examples/redis/custom-rbac/rd-custom-db-two.yaml @@ -4,7 +4,7 @@ metadata: name: minute-redis namespace: demo spec: - version: 6.2.5 + version: 6.2.14 podTemplate: spec: serviceAccountName: my-custom-serviceaccount diff --git a/docs/examples/redis/custom-rbac/rd-custom-db.yaml b/docs/examples/redis/custom-rbac/rd-custom-db.yaml index 1dafd3b6e8..2990a47d24 100644 --- a/docs/examples/redis/custom-rbac/rd-custom-db.yaml +++ b/docs/examples/redis/custom-rbac/rd-custom-db.yaml @@ -4,7 +4,7 @@ metadata: name: quick-redis namespace: demo spec: - version: 6.2.5 + version: 6.2.14 podTemplate: spec: serviceAccountName: my-custom-serviceaccount diff --git a/docs/examples/redis/monitoring/builtin-prom-redis.yaml b/docs/examples/redis/monitoring/builtin-prom-redis.yaml index 911fb31826..35cb60b7a0 100644 --- a/docs/examples/redis/monitoring/builtin-prom-redis.yaml +++ b/docs/examples/redis/monitoring/builtin-prom-redis.yaml @@ -4,7 +4,7 @@ metadata: name: builtin-prom-redis namespace: demo spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut storage: storageClassName: "standard" diff --git a/docs/examples/redis/monitoring/coreos-prom-redis.yaml b/docs/examples/redis/monitoring/coreos-prom-redis.yaml index 89e0da000a..a999e9d709 100644 --- a/docs/examples/redis/monitoring/coreos-prom-redis.yaml +++ b/docs/examples/redis/monitoring/coreos-prom-redis.yaml @@ -4,7 +4,7 @@ metadata: name: coreos-prom-redis namespace: demo spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut storage: storageClassName: "standard" diff --git a/docs/examples/redis/private-registry/demo-2.yaml b/docs/examples/redis/private-registry/demo-2.yaml index 3c1330ee4d..fce69733ea 100644 --- a/docs/examples/redis/private-registry/demo-2.yaml +++ b/docs/examples/redis/private-registry/demo-2.yaml @@ -4,7 +4,7 @@ metadata: name: redis-pvt-reg namespace: demo spec: - version: 6.2.5 + version: 6.2.14 storage: storageClassName: "standard" accessModes: diff --git a/docs/examples/redis/quickstart/demo-1.yaml b/docs/examples/redis/quickstart/demo-1.yaml index 2ed97abedf..419b601d28 100644 --- a/docs/examples/redis/quickstart/demo-1.yaml +++ b/docs/examples/redis/quickstart/demo-1.yaml @@ -4,7 +4,7 @@ metadata: name: redis-quickstart namespace: demo spec: - version: 6.2.5 + version: 6.2.14 storageType: Durable storage: storageClassName: "standard" diff --git a/docs/examples/redis/reconfigure-tls/rd-sentinel.yaml b/docs/examples/redis/reconfigure-tls/rd-sentinel.yaml index cbed0d2fcf..4ce5e6e7fa 100644 --- a/docs/examples/redis/reconfigure-tls/rd-sentinel.yaml +++ b/docs/examples/redis/reconfigure-tls/rd-sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: rd-sample namespace: demo spec: - version: 6.2.5 + version: 6.2.14 replicas: 3 sentinelRef: name: sen-sample diff --git a/docs/examples/redis/reconfigure-tls/redis-standalone.yaml b/docs/examples/redis/reconfigure-tls/redis-standalone.yaml index d331ad929e..b6f183c233 100644 --- a/docs/examples/redis/reconfigure-tls/redis-standalone.yaml +++ b/docs/examples/redis/reconfigure-tls/redis-standalone.yaml @@ -4,7 +4,7 @@ metadata: name: rd-sample namespace: demo spec: - version: "6.2.5" + version: "6.2.14" mode: Standalone storage: storageClassName: "standard" diff --git a/docs/examples/redis/reconfigure-tls/sentinel.yaml b/docs/examples/redis/reconfigure-tls/sentinel.yaml index 04eb979db2..40c622a189 100644 --- a/docs/examples/redis/reconfigure-tls/sentinel.yaml +++ b/docs/examples/redis/reconfigure-tls/sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: sen-sample namespace: demo spec: - version: 6.2.7 + version: 6.2.14 replicas: 3 storageType: Durable storage: diff --git a/docs/examples/redis/scaling/horizontal-scaling/rd-cluster.yaml b/docs/examples/redis/scaling/horizontal-scaling/rd-cluster.yaml index aa8ba39cae..88e410cef3 100644 --- a/docs/examples/redis/scaling/horizontal-scaling/rd-cluster.yaml +++ b/docs/examples/redis/scaling/horizontal-scaling/rd-cluster.yaml @@ -4,7 +4,7 @@ metadata: name: redis-cluster namespace: demo spec: - version: 6.2.7 + version: 6.2.14 mode: Cluster cluster: master: 3 diff --git a/docs/examples/redis/scaling/horizontal-scaling/rd-sentinel.yaml b/docs/examples/redis/scaling/horizontal-scaling/rd-sentinel.yaml index cbed0d2fcf..4ce5e6e7fa 100644 --- a/docs/examples/redis/scaling/horizontal-scaling/rd-sentinel.yaml +++ b/docs/examples/redis/scaling/horizontal-scaling/rd-sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: rd-sample namespace: demo spec: - version: 6.2.5 + version: 6.2.14 replicas: 3 sentinelRef: name: sen-sample diff --git a/docs/examples/redis/scaling/horizontal-scaling/sentinel.yaml b/docs/examples/redis/scaling/horizontal-scaling/sentinel.yaml index 8b92e30826..b948ee8063 100644 --- a/docs/examples/redis/scaling/horizontal-scaling/sentinel.yaml +++ b/docs/examples/redis/scaling/horizontal-scaling/sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: sen-sample namespace: demo spec: - version: 6.2.7 + version: 6.2.14 replicas: 5 storageType: Durable storage: diff --git a/docs/examples/redis/scaling/vertical-scaling/rd-cluster.yaml b/docs/examples/redis/scaling/vertical-scaling/rd-cluster.yaml index 262c082ca7..bd782c2cae 100644 --- a/docs/examples/redis/scaling/vertical-scaling/rd-cluster.yaml +++ b/docs/examples/redis/scaling/vertical-scaling/rd-cluster.yaml @@ -4,7 +4,7 @@ metadata: name: redis-cluster namespace: demo spec: - version: 7.0.5 + version: 7.0.14 mode: Cluster cluster: master: 3 diff --git a/docs/examples/redis/scaling/vertical-scaling/rd-sentinel.yaml b/docs/examples/redis/scaling/vertical-scaling/rd-sentinel.yaml index 0d704daf97..1e611092a8 100644 --- a/docs/examples/redis/scaling/vertical-scaling/rd-sentinel.yaml +++ b/docs/examples/redis/scaling/vertical-scaling/rd-sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: rd-sample namespace: demo spec: - version: 6.2.5 + version: 6.2.14 replicas: 3 sentinelRef: name: sen-sample diff --git a/docs/examples/redis/scaling/vertical-scaling/rd-standalone.yaml b/docs/examples/redis/scaling/vertical-scaling/rd-standalone.yaml index d6c2209aef..a225d1bf86 100644 --- a/docs/examples/redis/scaling/vertical-scaling/rd-standalone.yaml +++ b/docs/examples/redis/scaling/vertical-scaling/rd-standalone.yaml @@ -4,7 +4,7 @@ metadata: name: redis-quickstart namespace: demo spec: - version: 5.0.3-v1 + version: 6.2.14 storageType: Durable storage: storageClassName: "standard" diff --git a/docs/examples/redis/scaling/vertical-scaling/sentinel.yaml b/docs/examples/redis/scaling/vertical-scaling/sentinel.yaml index 61b3210124..95b2698a98 100644 --- a/docs/examples/redis/scaling/vertical-scaling/sentinel.yaml +++ b/docs/examples/redis/scaling/vertical-scaling/sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: sen-sample namespace: demo spec: - version: 6.2.7 + version: 6.2.14 replicas: 3 storageType: Durable storage: diff --git a/docs/examples/redis/scaling/vertical-scaling/vertical-cluster.yaml b/docs/examples/redis/scaling/vertical-scaling/vertical-cluster.yaml index 798a5c46f0..0b4deca4b7 100644 --- a/docs/examples/redis/scaling/vertical-scaling/vertical-cluster.yaml +++ b/docs/examples/redis/scaling/vertical-scaling/vertical-cluster.yaml @@ -9,9 +9,10 @@ spec: name: redis-cluster verticalScaling: redis: - requests: - memory: "300Mi" - cpu: "200m" - limits: - memory: "800Mi" - cpu: "500m" \ No newline at end of file + resources: + requests: + memory: "300Mi" + cpu: "200m" + limits: + memory: "800Mi" + cpu: "500m" \ No newline at end of file diff --git a/docs/examples/redis/scaling/vertical-scaling/vertical-redis-sentinel.yaml b/docs/examples/redis/scaling/vertical-scaling/vertical-redis-sentinel.yaml index e3b94c17cc..20c6219c94 100644 --- a/docs/examples/redis/scaling/vertical-scaling/vertical-redis-sentinel.yaml +++ b/docs/examples/redis/scaling/vertical-scaling/vertical-redis-sentinel.yaml @@ -9,9 +9,10 @@ spec: name: rd-sample verticalScaling: redis: - requests: - memory: "300Mi" - cpu: "200m" - limits: - memory: "800Mi" - cpu: "500m" \ No newline at end of file + resources: + requests: + memory: "300Mi" + cpu: "200m" + limits: + memory: "800Mi" + cpu: "500m" \ No newline at end of file diff --git a/docs/examples/redis/scaling/vertical-scaling/vertical-sentinel.yaml b/docs/examples/redis/scaling/vertical-scaling/vertical-sentinel.yaml index 3645e26d13..ae0e70816f 100644 --- a/docs/examples/redis/scaling/vertical-scaling/vertical-sentinel.yaml +++ b/docs/examples/redis/scaling/vertical-scaling/vertical-sentinel.yaml @@ -9,9 +9,10 @@ spec: name: sen-sample verticalScaling: redissentinel: - requests: - memory: "300Mi" - cpu: "200m" - limits: - memory: "800Mi" - cpu: "500m" + resources: + requests: + memory: "300Mi" + cpu: "200m" + limits: + memory: "800Mi" + cpu: "500m" diff --git a/docs/examples/redis/scaling/vertical-scaling/vertical-standalone.yaml b/docs/examples/redis/scaling/vertical-scaling/vertical-standalone.yaml index 0463ca2b75..c48afc6aca 100644 --- a/docs/examples/redis/scaling/vertical-scaling/vertical-standalone.yaml +++ b/docs/examples/redis/scaling/vertical-scaling/vertical-standalone.yaml @@ -9,9 +9,10 @@ spec: name: redis-quickstart verticalScaling: redis: - requests: - memory: "300Mi" - cpu: "200m" - limits: - memory: "800Mi" - cpu: "500m" + resources: + requests: + memory: "300Mi" + cpu: "200m" + limits: + memory: "800Mi" + cpu: "500m" diff --git a/docs/examples/redis/sentinel/new-sentinel.yaml b/docs/examples/redis/sentinel/new-sentinel.yaml index a11c736d50..959f23fc96 100644 --- a/docs/examples/redis/sentinel/new-sentinel.yaml +++ b/docs/examples/redis/sentinel/new-sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: new-sentinel namespace: demo spec: - version: 6.2.5 + version: 6.2.14 replicas: 3 storageType: Durable storage: diff --git a/docs/examples/redis/sentinel/redis.yaml b/docs/examples/redis/sentinel/redis.yaml index 804aa5195f..a11087771f 100644 --- a/docs/examples/redis/sentinel/redis.yaml +++ b/docs/examples/redis/sentinel/redis.yaml @@ -4,7 +4,7 @@ metadata: name: rd-demo namespace: demo spec: - version: 6.2.8 + version: 6.2.14 replicas: 3 sentinelRef: name: sen-demo diff --git a/docs/examples/redis/sentinel/sentinel.yaml b/docs/examples/redis/sentinel/sentinel.yaml index 028ce5156c..e377e63d02 100644 --- a/docs/examples/redis/sentinel/sentinel.yaml +++ b/docs/examples/redis/sentinel/sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: sen-demo namespace: demo spec: - version: 6.2.8 + version: 6.2.14 replicas: 3 storageType: Durable storage: diff --git a/docs/examples/redis/tls/rd-cluster-ssl.yaml b/docs/examples/redis/tls/rd-cluster-ssl.yaml index a08d0ac602..9c109372ec 100644 --- a/docs/examples/redis/tls/rd-cluster-ssl.yaml +++ b/docs/examples/redis/tls/rd-cluster-ssl.yaml @@ -4,7 +4,7 @@ metadata: name: rd-tls namespace: demo spec: - version: "6.2.5" + version: "6.2.14" mode: Cluster cluster: master: 3 diff --git a/docs/examples/redis/tls/rd-sentinel.yaml b/docs/examples/redis/tls/rd-sentinel.yaml index 426758cfb5..d07fe48584 100644 --- a/docs/examples/redis/tls/rd-sentinel.yaml +++ b/docs/examples/redis/tls/rd-sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: rd-tls namespace: demo spec: - version: "6.2.5" + version: "6.2.14" mode: Sentinel replicas: 3 sentinelRef: diff --git a/docs/examples/redis/tls/rd-standalone-ssl.yaml b/docs/examples/redis/tls/rd-standalone-ssl.yaml index d3c30ffc1c..ef1be0193e 100644 --- a/docs/examples/redis/tls/rd-standalone-ssl.yaml +++ b/docs/examples/redis/tls/rd-standalone-ssl.yaml @@ -4,7 +4,7 @@ metadata: name: rd-tls namespace: demo spec: - version: "6.2.5" + version: "6.2.14" tls: issuerRef: apiGroup: "cert-manager.io" diff --git a/docs/examples/redis/tls/sentinel-ssl.yaml b/docs/examples/redis/tls/sentinel-ssl.yaml index 61022ee8dd..9c2cd5cbcc 100644 --- a/docs/examples/redis/tls/sentinel-ssl.yaml +++ b/docs/examples/redis/tls/sentinel-ssl.yaml @@ -5,7 +5,7 @@ metadata: namespace: demo spec: replicas: 3 - version: "6.2.5" + version: "6.2.14" tls: issuerRef: apiGroup: "cert-manager.io" diff --git a/docs/examples/redis/update-version/rd-cluster.yaml b/docs/examples/redis/update-version/rd-cluster.yaml index e569abe6dd..eca022edd4 100644 --- a/docs/examples/redis/update-version/rd-cluster.yaml +++ b/docs/examples/redis/update-version/rd-cluster.yaml @@ -4,7 +4,7 @@ metadata: name: redis-cluster namespace: demo spec: - version: 6.0.6 + version: 6.0.20 mode: Cluster cluster: master: 3 diff --git a/docs/examples/redis/update-version/rd-sentinel.yaml b/docs/examples/redis/update-version/rd-sentinel.yaml index cbed0d2fcf..4ce5e6e7fa 100644 --- a/docs/examples/redis/update-version/rd-sentinel.yaml +++ b/docs/examples/redis/update-version/rd-sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: rd-sample namespace: demo spec: - version: 6.2.5 + version: 6.2.14 replicas: 3 sentinelRef: name: sen-sample diff --git a/docs/examples/redis/update-version/rd-standalone.yaml b/docs/examples/redis/update-version/rd-standalone.yaml index 0cd1d57e1c..2a8256c941 100644 --- a/docs/examples/redis/update-version/rd-standalone.yaml +++ b/docs/examples/redis/update-version/rd-standalone.yaml @@ -4,7 +4,7 @@ metadata: name: redis-quickstart namespace: demo spec: - version: 5.0.3-v1 + version: 6.2.14 storageType: Durable storage: storageClassName: "standard" diff --git a/docs/examples/redis/update-version/sentinel.yaml b/docs/examples/redis/update-version/sentinel.yaml index 04eb979db2..40c622a189 100644 --- a/docs/examples/redis/update-version/sentinel.yaml +++ b/docs/examples/redis/update-version/sentinel.yaml @@ -4,7 +4,7 @@ metadata: name: sen-sample namespace: demo spec: - version: 6.2.7 + version: 6.2.14 replicas: 3 storageType: Durable storage: diff --git a/docs/examples/redis/update-version/update-standalone.yaml b/docs/examples/redis/update-version/update-standalone.yaml index e26dbae9ea..5eeae82d60 100644 --- a/docs/examples/redis/update-version/update-standalone.yaml +++ b/docs/examples/redis/update-version/update-standalone.yaml @@ -8,4 +8,4 @@ spec: databaseRef: name: redis-quickstart updateVersion: - targetVersion: 7.0.5 + targetVersion: 7.0.14 diff --git a/docs/examples/redis/update-version/update-version.yaml b/docs/examples/redis/update-version/update-version.yaml index c5a32d8dc3..f2aadea09a 100644 --- a/docs/examples/redis/update-version/update-version.yaml +++ b/docs/examples/redis/update-version/update-version.yaml @@ -8,4 +8,4 @@ spec: databaseRef: name: redis-cluster updateVersion: - targetVersion: 7.0.5 \ No newline at end of file + targetVersion: 7.0.14 \ No newline at end of file diff --git a/docs/examples/redis/update-version/upgrade-sentinel.yaml b/docs/examples/redis/update-version/upgrade-sentinel.yaml index c02ebce361..fb8948a0e5 100644 --- a/docs/examples/redis/update-version/upgrade-sentinel.yaml +++ b/docs/examples/redis/update-version/upgrade-sentinel.yaml @@ -8,4 +8,4 @@ spec: databaseRef: name: sen-sample updateVersion: - targetVersion: 7.0.5 + targetVersion: 7.0.14 diff --git a/docs/examples/redis/volume-expansion/sample-redis.yaml b/docs/examples/redis/volume-expansion/sample-redis.yaml index e93fa6ff3a..8986ea9b2c 100644 --- a/docs/examples/redis/volume-expansion/sample-redis.yaml +++ b/docs/examples/redis/volume-expansion/sample-redis.yaml @@ -4,7 +4,7 @@ metadata: name: sample-redis namespace: demo spec: - version: 6.2.5 + version: 6.2.14 mode: Cluster cluster: master: 3 diff --git a/docs/guides/elasticsearch/autoscaler/compute/topology/index.md b/docs/guides/elasticsearch/autoscaler/compute/topology/index.md index b98a7dc820..930ad274b0 100644 --- a/docs/guides/elasticsearch/autoscaler/compute/topology/index.md +++ b/docs/guides/elasticsearch/autoscaler/compute/topology/index.md @@ -161,17 +161,16 @@ spec: databaseRef: name: es-topology compute: - topology: - ingest: - trigger: "On" - podLifeTimeThreshold: 5m - minAllowed: - cpu: ".4" - memory: 500Mi - maxAllowed: - cpu: 2 - memory: 3Gi - controlledResources: ["cpu", "memory"] + ingest: + trigger: "On" + podLifeTimeThreshold: 5m + minAllowed: + cpu: ".4" + memory: 500Mi + maxAllowed: + cpu: 2 + memory: 3Gi + controlledResources: ["cpu", "memory"] ``` Here, diff --git a/docs/guides/elasticsearch/autoscaler/compute/topology/yamls/es-topology-auto-scaler.yaml b/docs/guides/elasticsearch/autoscaler/compute/topology/yamls/es-topology-auto-scaler.yaml index 5ea08ee409..e08e4732cc 100644 --- a/docs/guides/elasticsearch/autoscaler/compute/topology/yamls/es-topology-auto-scaler.yaml +++ b/docs/guides/elasticsearch/autoscaler/compute/topology/yamls/es-topology-auto-scaler.yaml @@ -7,14 +7,13 @@ spec: databaseRef: name: es-topology compute: - topology: - ingest: - trigger: "On" - podLifeTimeThreshold: 5m - minAllowed: - cpu: ".4" - memory: 500Mi - maxAllowed: - cpu: 2 - memory: 3Gi - controlledResources: ["cpu", "memory"] \ No newline at end of file + ingest: + trigger: "On" + podLifeTimeThreshold: 5m + minAllowed: + cpu: ".4" + memory: 500Mi + maxAllowed: + cpu: 2 + memory: 3Gi + controlledResources: ["cpu", "memory"] \ No newline at end of file diff --git a/docs/guides/elasticsearch/autoscaler/storage/topology/index.md b/docs/guides/elasticsearch/autoscaler/storage/topology/index.md index 72918d4056..ce295272d3 100644 --- a/docs/guides/elasticsearch/autoscaler/storage/topology/index.md +++ b/docs/guides/elasticsearch/autoscaler/storage/topology/index.md @@ -160,11 +160,10 @@ spec: databaseRef: name: es-topology storage: - topology: - data: - trigger: "On" - usageThreshold: 60 - scalingThreshold: 50 + data: + trigger: "On" + usageThreshold: 60 + scalingThreshold: 50 ``` Here, diff --git a/docs/guides/elasticsearch/autoscaler/storage/topology/yamls/es-topology-storage-as.yaml b/docs/guides/elasticsearch/autoscaler/storage/topology/yamls/es-topology-storage-as.yaml index 663c6575cd..e0142a927e 100644 --- a/docs/guides/elasticsearch/autoscaler/storage/topology/yamls/es-topology-storage-as.yaml +++ b/docs/guides/elasticsearch/autoscaler/storage/topology/yamls/es-topology-storage-as.yaml @@ -7,8 +7,7 @@ spec: databaseRef: name: es-topology storage: - topology: - data: - trigger: "On" - usageThreshold: 60 - scalingThreshold: 50 \ No newline at end of file + data: + trigger: "On" + usageThreshold: 60 + scalingThreshold: 50 \ No newline at end of file diff --git a/docs/guides/elasticsearch/concepts/autoscaler/index.md b/docs/guides/elasticsearch/concepts/autoscaler/index.md index c7fdcfc4eb..8ddf70d8c6 100644 --- a/docs/guides/elasticsearch/concepts/autoscaler/index.md +++ b/docs/guides/elasticsearch/concepts/autoscaler/index.md @@ -70,49 +70,47 @@ spec: databaseRef: name: es-topology compute: - topology: - master: - trigger: "On" - podLifeTimeThreshold: 24h - minAllowed: - cpu: 250m - memory: 350Mi - maxAllowed: - cpu: 1 - memory: 1Gi - controlledResources: ["cpu", "memory"] - containerControlledValues: "RequestsAndLimits" - resourceDiffPercentage: 10 - data: - trigger: "On" - podLifeTimeThreshold: 24h - minAllowed: - cpu: 250m - memory: 350Mi - maxAllowed: - cpu: 1 - memory: 1Gi - controlledResources: ["cpu", "memory"] - containerControlledValues: "RequestsAndLimits" - resourceDiffPercentage: 10 - ingest: - trigger: "On" - podLifeTimeThreshold: 24h - minAllowed: - cpu: 250m - memory: 350Mi - maxAllowed: - cpu: 1 - memory: 1Gi - controlledResources: ["cpu", "memory"] - containerControlledValues: "RequestsAndLimits" - resourceDiffPercentage: 10 + master: + trigger: "On" + podLifeTimeThreshold: 24h + minAllowed: + cpu: 250m + memory: 350Mi + maxAllowed: + cpu: 1 + memory: 1Gi + controlledResources: ["cpu", "memory"] + containerControlledValues: "RequestsAndLimits" + resourceDiffPercentage: 10 + data: + trigger: "On" + podLifeTimeThreshold: 24h + minAllowed: + cpu: 250m + memory: 350Mi + maxAllowed: + cpu: 1 + memory: 1Gi + controlledResources: ["cpu", "memory"] + containerControlledValues: "RequestsAndLimits" + resourceDiffPercentage: 10 + ingest: + trigger: "On" + podLifeTimeThreshold: 24h + minAllowed: + cpu: 250m + memory: 350Mi + maxAllowed: + cpu: 1 + memory: 1Gi + controlledResources: ["cpu", "memory"] + containerControlledValues: "RequestsAndLimits" + resourceDiffPercentage: 10 storage: - topology: - data: - trigger: "On" - usageThreshold: 60 - scalingThreshold: 50 + data: + trigger: "On" + usageThreshold: 60 + scalingThreshold: 50 ``` Here, we are going to describe the various sections of a `ElasticsearchAutoscaler` crd. diff --git a/docs/guides/elasticsearch/concepts/elasticsearch-ops-request/index.md b/docs/guides/elasticsearch/concepts/elasticsearch-ops-request/index.md index 901d837755..b79b1dc456 100644 --- a/docs/guides/elasticsearch/concepts/elasticsearch-ops-request/index.md +++ b/docs/guides/elasticsearch/concepts/elasticsearch-ops-request/index.md @@ -188,12 +188,13 @@ It specifies the necessary information required to horizontally scale the Elasti name: es verticalScaling: node: - limits: - cpu: 1000m - memory: 2Gi - requests: - cpu: 500m - memory: 1Gi + resources: + limits: + cpu: 1000m + memory: 2Gi + requests: + cpu: 500m + memory: 1Gi ``` - Vertically scale topology cluster: @@ -209,22 +210,24 @@ It specifies the necessary information required to horizontally scale the Elasti databaseRef: name: es verticalScaling: - topology: - master: + master: + resources: limits: cpu: 750m memory: 800Mi - data: + data: + resources: requests: cpu: 760m memory: 900Mi - ingest: + ingest: + resources: limits: cpu: 900m memory: 1.2Gi requests: cpu: 800m - memory: 1Gi + memory: 1Gi ``` - Vertically scale only data nodes: @@ -240,14 +243,14 @@ It specifies the necessary information required to horizontally scale the Elasti databaseRef: name: es verticalScaling: - topology: - data: + data: + resources: limits: cpu: 900m memory: 1.2Gi requests: cpu: 800m - memory: 1Gi + memory: 1Gi ``` ### spec.volumeExpansion @@ -297,10 +300,9 @@ All of them refer to [Quantity](https://v1-22.docs.kubernetes.io/docs/reference/ databaseRef: name: es volumeExpansion: - topology: - master: 2Gi - data: 3Gi - ingest: 4Gi + master: 2Gi + data: 3Gi + ingest: 4Gi ``` - Expand volume for only data nodes: @@ -316,8 +318,7 @@ All of them refer to [Quantity](https://v1-22.docs.kubernetes.io/docs/reference/ databaseRef: name: es volumeExpansion: - topology: - data: 5Gi + data: 5Gi ``` ### spec.tls diff --git a/docs/guides/elasticsearch/monitoring/overview.md b/docs/guides/elasticsearch/monitoring/overview.md index 1898cdcd0a..b6ee784c1c 100644 --- a/docs/guides/elasticsearch/monitoring/overview.md +++ b/docs/guides/elasticsearch/monitoring/overview.md @@ -53,7 +53,7 @@ metadata: name: sample-redis namespace: databases spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut configSecret: # configure Redis to use password for authentication name: redis-config diff --git a/docs/guides/mariadb/autoscaler/compute/cluster/examples/sample-mariadb.yaml b/docs/guides/mariadb/autoscaler/compute/cluster/examples/sample-mariadb.yaml index 03e9536e0f..5337e55f96 100644 --- a/docs/guides/mariadb/autoscaler/compute/cluster/examples/sample-mariadb.yaml +++ b/docs/guides/mariadb/autoscaler/compute/cluster/examples/sample-mariadb.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mariadb namespace: demo spec: - version: "10.6.4" + version: "10.6.16" replicas: 3 storageType: Durable storage: diff --git a/docs/guides/mariadb/autoscaler/compute/cluster/index.md b/docs/guides/mariadb/autoscaler/compute/cluster/index.md index 0a10ddc153..00284382e1 100644 --- a/docs/guides/mariadb/autoscaler/compute/cluster/index.md +++ b/docs/guides/mariadb/autoscaler/compute/cluster/index.md @@ -42,7 +42,7 @@ Here, we are going to deploy a `MariaDB` Cluster using a supported version by `K #### Deploy MariaDB Cluster -In this section, we are going to deploy a MariaDB Cluster with version `10.6.4`. Then, in the next section we will set up autoscaling for this database using `MariaDBAutoscaler` CRD. Below is the YAML of the `MariaDB` CR that we are going to create, +In this section, we are going to deploy a MariaDB Cluster with version `10.6.16`. Then, in the next section we will set up autoscaling for this database using `MariaDBAutoscaler` CRD. Below is the YAML of the `MariaDB` CR that we are going to create, > If you want to autoscale MariaDB `Standalone`, Just remove the `spec.Replicas` from the below yaml and rest of the steps are same. ```yaml @@ -52,7 +52,7 @@ metadata: name: sample-mariadb namespace: demo spec: - version: "10.6.4" + version: "10.6.16" replicas: 3 storageType: Durable storage: diff --git a/docs/guides/mariadb/concepts/opsrequest/index.md b/docs/guides/mariadb/concepts/opsrequest/index.md index 1b6b233671..d9820517c6 100644 --- a/docs/guides/mariadb/concepts/opsrequest/index.md +++ b/docs/guides/mariadb/concepts/opsrequest/index.md @@ -90,12 +90,13 @@ spec: name: sample-mariadb verticalScaling: mariadb: - requests: - memory: "600Mi" - cpu: "0.1" - limits: - memory: "600Mi" - cpu: "0.1" + resources: + requests: + memory: "600Mi" + cpu: "0.1" + limits: + memory: "600Mi" + cpu: "0.1" status: conditions: - lastTransitionTime: "2020-08-25T18:22:38Z" diff --git a/docs/guides/mariadb/monitoring/overview/index.md b/docs/guides/mariadb/monitoring/overview/index.md index f7ff723cc6..d1768d1eb9 100644 --- a/docs/guides/mariadb/monitoring/overview/index.md +++ b/docs/guides/mariadb/monitoring/overview/index.md @@ -53,7 +53,7 @@ metadata: name: sample-redis namespace: databases spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut configSecret: # configure Redis to use password for authentication name: redis-config diff --git a/docs/guides/mariadb/quickstart/overview/index.md b/docs/guides/mariadb/quickstart/overview/index.md index d2f1949fde..d0bd08c03d 100644 --- a/docs/guides/mariadb/quickstart/overview/index.md +++ b/docs/guides/mariadb/quickstart/overview/index.md @@ -52,7 +52,7 @@ $ kubectl get mariadbversions NAME VERSION DB_IMAGE DEPRECATED AGE 10.4.32 10.4.32 mariadb:10.4.32 9s 10.5.23 10.5.23 mariadb:10.5.23 9s -10.6.4 10.6.4 mariadb:10.6.4 9s +10.6.16 10.6.16 mariadb:10.6.16 9s ``` ## Create a MariaDB database diff --git a/docs/guides/mariadb/reconfigure/cluster/examples/sample-mariadb-config.yaml b/docs/guides/mariadb/reconfigure/cluster/examples/sample-mariadb-config.yaml index 05ec5cb1a9..b1c3f3e4ed 100644 --- a/docs/guides/mariadb/reconfigure/cluster/examples/sample-mariadb-config.yaml +++ b/docs/guides/mariadb/reconfigure/cluster/examples/sample-mariadb-config.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mariadb namespace: demo spec: - version: "10.6.4" + version: "10.6.16" replicas: 3 configSecret: name: md-configuration @@ -17,4 +17,3 @@ spec: requests: storage: 1Gi terminationPolicy: WipeOut - diff --git a/docs/guides/mariadb/reconfigure/cluster/index.md b/docs/guides/mariadb/reconfigure/cluster/index.md index ef4745b0fc..ec8160cf13 100644 --- a/docs/guides/mariadb/reconfigure/cluster/index.md +++ b/docs/guides/mariadb/reconfigure/cluster/index.md @@ -39,7 +39,7 @@ Now, we are going to deploy a `MariaDB` Cluster using a supported version by `K ### Prepare MariaDB Cluster -Now, we are going to deploy a `MariaDB` Cluster database with version `10.6.4`. +Now, we are going to deploy a `MariaDB` Cluster database with version `10.6.16`. ### Deploy MariaDB @@ -70,7 +70,7 @@ metadata: name: sample-mariadb namespace: demo spec: - version: "10.6.4" + version: "10.6.16" replicas: 3 configSecret: name: md-configuration @@ -97,7 +97,7 @@ Now, wait until `sample-mariadb` has status `Ready`. i.e, ```bash $ kubectl get mariadb -n demo NAME VERSION STATUS AGE -sample-mariadb 10.6.4 Ready 71s +sample-mariadb 10.6.16 Ready 71s ``` Now, we will check if the database has started with the custom configuration we have provided. @@ -119,7 +119,7 @@ $ kubectl exec -it -n demo sample-mariadb-0 -- bash root@sample-mariadb-0:/ mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 23 -Server version: 10.6.4-MariaDB-1:10.6.4+maria~focal mariadb.org binary distribution +Server version: 10.6.16-MariaDB-1:10.6.16+maria~focal mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -273,7 +273,7 @@ $ kubectl exec -it -n demo sample-mariadb-0 -- bash root@sample-mariadb-0:/ mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 23 -Server version: 10.6.4-MariaDB-1:10.6.4+maria~focal mariadb.org binary distribution +Server version: 10.6.16-MariaDB-1:10.6.16+maria~focal mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -342,7 +342,7 @@ $ kubectl exec -it sample-mariadb-0 -n demo -c mariadb -- bash root@sample-mariadb-0:/# mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 23 -Server version: 10.6.4-MariaDB-1:10.6.4+maria~focal mariadb.org binary distribution +Server version: 10.6.16-MariaDB-1:10.6.16+maria~focal mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -452,7 +452,7 @@ $ kubectl exec -it -n demo sample-mariadb-0 -- bash root@sample-mariadb-0:/ mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 23 -Server version: 10.6.4-MariaDB-1:10.6.4+maria~focal mariadb.org binary distribution +Server version: 10.6.16-MariaDB-1:10.6.16+maria~focal mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -546,7 +546,7 @@ $ kubectl exec -it -n demo sample-mariadb-0 -- bash root@sample-mariadb-0:/ mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 23 -Server version: 10.6.4-MariaDB-1:10.6.4+maria~focal mariadb.org binary distribution +Server version: 10.6.16-MariaDB-1:10.6.16+maria~focal mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. diff --git a/docs/guides/mariadb/reconfigure/standalone/examples/sample-mariadb-config.yaml b/docs/guides/mariadb/reconfigure/standalone/examples/sample-mariadb-config.yaml index cc9e681d20..d5a0039eb7 100644 --- a/docs/guides/mariadb/reconfigure/standalone/examples/sample-mariadb-config.yaml +++ b/docs/guides/mariadb/reconfigure/standalone/examples/sample-mariadb-config.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mariadb namespace: demo spec: - version: "10.6.4" + version: "10.6.16" configSecret: name: md-configuration storageType: Durable diff --git a/docs/guides/mariadb/reconfigure/standalone/index.md b/docs/guides/mariadb/reconfigure/standalone/index.md index ac6e3dfa1c..a3d3226a0a 100644 --- a/docs/guides/mariadb/reconfigure/standalone/index.md +++ b/docs/guides/mariadb/reconfigure/standalone/index.md @@ -38,7 +38,7 @@ Now, we are going to deploy a `MariaDB` Standalone using a supported version by ### Prepare MariaDB Standalone -Now, we are going to deploy a `MariaDB` Standalone database with version `10.6.4`. +Now, we are going to deploy a `MariaDB` Standalone database with version `10.6.16`. ### Deploy MariaDB @@ -69,7 +69,7 @@ metadata: name: sample-mariadb namespace: demo spec: - version: "10.6.4" + version: "10.6.16" configSecret: name: md-configuration storageType: Durable @@ -95,7 +95,7 @@ Now, wait until `sample-mariadb` has status `Ready`. i.e, ```bash $ kubectl get mariadb -n demo NAME VERSION STATUS AGE -sample-mariadb 10.6.4 Ready 61s +sample-mariadb 10.6.16 Ready 61s ``` Now, we will check if the database has started with the custom configuration we have provided. @@ -117,7 +117,7 @@ $ kubectl exec -it -n demo sample-mariadb-0 -c mariadb -- bash root@sample-mariadb-0:/# mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 11 -Server version: 10.6.4-MariaDB-1:10.6.4+maria~focal mariadb.org binary distribution +Server version: 10.6.16-MariaDB-1:10.6.16+maria~focal mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -268,7 +268,7 @@ $ $ kubectl exec -it -n demo sample-mariadb-0 -c mariadb -- bash root@sample-mariadb-0:/# mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 21 -Server version: 10.6.4-MariaDB-1:10.6.4+maria~focal mariadb.org binary distribution +Server version: 10.6.16-MariaDB-1:10.6.16+maria~focal mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -335,7 +335,7 @@ $ kubectl exec -it sample-mariadb-0 -n demo -c mariadb -- bash root@sample-mariadb-0:/# mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 21 -Server version: 10.6.4-MariaDB-1:10.6.4+maria~focal mariadb.org binary distribution +Server version: 10.6.16-MariaDB-1:10.6.16+maria~focal mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -445,7 +445,7 @@ $ kubectl exec -it -n demo sample-mariadb-0 -c mariadb -- bash root@sample-mariadb-0:/# mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 24 -Server version: 10.6.4-MariaDB-1:10.6.4+maria~focal mariadb.org binary distribution +Server version: 10.6.16-MariaDB-1:10.6.16+maria~focal mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -537,7 +537,7 @@ $ kubectl exec -it -n demo sample-mariadb-0 -- bash root@sample-mariadb-0:/ mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 8 -Server version: 10.6.4-MariaDB-1:10.6.4+maria~focal mariadb.org binary distribution +Server version: 10.6.16-MariaDB-1:10.6.16+maria~focal mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. diff --git a/docs/guides/mariadb/scaling/vertical-scaling/cluster/example/mdops-vscale.yaml b/docs/guides/mariadb/scaling/vertical-scaling/cluster/example/mdops-vscale.yaml index 8f193f5cc9..48059e62bf 100644 --- a/docs/guides/mariadb/scaling/vertical-scaling/cluster/example/mdops-vscale.yaml +++ b/docs/guides/mariadb/scaling/vertical-scaling/cluster/example/mdops-vscale.yaml @@ -9,9 +9,10 @@ spec: name: sample-mariadb verticalScaling: mariadb: - requests: - memory: "1.2Gi" - cpu: "0.6" - limits: - memory: "1.2Gi" - cpu: "0.6" + resources: + requests: + memory: "1.2Gi" + cpu: "0.6" + limits: + memory: "1.2Gi" + cpu: "0.6" diff --git a/docs/guides/mariadb/scaling/vertical-scaling/cluster/index.md b/docs/guides/mariadb/scaling/vertical-scaling/cluster/index.md index 5f5c01e053..45e0f60540 100644 --- a/docs/guides/mariadb/scaling/vertical-scaling/cluster/index.md +++ b/docs/guides/mariadb/scaling/vertical-scaling/cluster/index.md @@ -123,12 +123,13 @@ spec: name: sample-mariadb verticalScaling: mariadb: - requests: - memory: "1.2Gi" - cpu: "0.6" - limits: - memory: "1.2Gi" - cpu: "0.6" + resources: + requests: + memory: "1.2Gi" + cpu: "0.6" + limits: + memory: "1.2Gi" + cpu: "0.6" ``` Here, diff --git a/docs/guides/memcached/cli/cli.md b/docs/guides/memcached/cli/cli.md index 120d6f08ec..dd2b4508fc 100644 --- a/docs/guides/memcached/cli/cli.md +++ b/docs/guides/memcached/cli/cli.md @@ -167,7 +167,7 @@ Service: IP: 10.102.208.191 Port: db 11211/TCP TargetPort: db/TCP - Endpoints: 172.17.0.4:11211,172.17.0.5:11211,172.17.0.6:11211 + Endpoints: 172.17.0.4:11211,172.17.0.14:11211,172.17.0.6:11211 No Snapshots. diff --git a/docs/guides/memcached/monitoring/overview.md b/docs/guides/memcached/monitoring/overview.md index 79dfbba43f..06647a19ae 100644 --- a/docs/guides/memcached/monitoring/overview.md +++ b/docs/guides/memcached/monitoring/overview.md @@ -53,7 +53,7 @@ metadata: name: sample-redis namespace: databases spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut configSecret: # configure Redis to use password for authentication name: redis-config diff --git a/docs/guides/memcached/monitoring/using-builtin-prometheus.md b/docs/guides/memcached/monitoring/using-builtin-prometheus.md index ac3f42c24c..f272126c27 100644 --- a/docs/guides/memcached/monitoring/using-builtin-prometheus.md +++ b/docs/guides/memcached/monitoring/using-builtin-prometheus.md @@ -110,7 +110,7 @@ Type: ClusterIP IP: 10.110.89.251 Port: prom-http 56790/TCP TargetPort: prom-http/TCP -Endpoints: 172.17.0.5:56790,172.17.0.7:56790,172.17.0.8:56790 +Endpoints: 172.17.0.14:56790,172.17.0.7:56790,172.17.0.8:56790 Session Affinity: None Events: ``` diff --git a/docs/guides/memcached/quickstart/quickstart.md b/docs/guides/memcached/quickstart/quickstart.md index 7ce7e3fb19..d22e5eaa83 100644 --- a/docs/guides/memcached/quickstart/quickstart.md +++ b/docs/guides/memcached/quickstart/quickstart.md @@ -123,7 +123,7 @@ Service: IP: 10.111.81.177 Port: db 11211/TCP TargetPort: db/TCP - Endpoints: 172.17.0.4:11211,172.17.0.5:11211,172.17.0.6:11211 + Endpoints: 172.17.0.4:11211,172.17.0.14:11211,172.17.0.6:11211 No Snapshots. diff --git a/docs/guides/mongodb/concepts/opsrequest.md b/docs/guides/mongodb/concepts/opsrequest.md index a7566fea78..6ff4b183af 100644 --- a/docs/guides/mongodb/concepts/opsrequest.md +++ b/docs/guides/mongodb/concepts/opsrequest.md @@ -120,26 +120,29 @@ spec: name: mg-sharding verticalScaling: configServer: - requests: - memory: "150Mi" - cpu: "0.1" - limits: - memory: "250Mi" - cpu: "0.2" + resources: + requests: + memory: "150Mi" + cpu: "0.1" + limits: + memory: "250Mi" + cpu: "0.2" mongos: - requests: - memory: "150Mi" - cpu: "0.1" - limits: - memory: "250Mi" - cpu: "0.2" + resources: + requests: + memory: "150Mi" + cpu: "0.1" + limits: + memory: "250Mi" + cpu: "0.2" shard: - requests: - memory: "150Mi" - cpu: "0.1" - limits: - memory: "250Mi" - cpu: "0.2" + resources: + requests: + memory: "150Mi" + cpu: "0.1" + limits: + memory: "250Mi" + cpu: "0.2" status: conditions: - lastTransitionTime: "2020-08-25T18:22:38Z" @@ -164,12 +167,13 @@ spec: name: mg-standalone verticalScaling: standalone: - requests: - memory: "150Mi" - cpu: "0.1" - limits: - memory: "250Mi" - cpu: "0.2" + resources: + requests: + memory: "150Mi" + cpu: "0.1" + limits: + memory: "250Mi" + cpu: "0.2" status: conditions: - lastTransitionTime: "2020-08-25T18:22:38Z" @@ -194,12 +198,13 @@ spec: name: mg-replicaset verticalScaling: replicaSet: - requests: - memory: "150Mi" - cpu: "0.1" - limits: - memory: "250Mi" - cpu: "0.2" + resources: + requests: + memory: "150Mi" + cpu: "0.1" + limits: + memory: "250Mi" + cpu: "0.2" status: conditions: - lastTransitionTime: "2020-08-25T18:22:38Z" diff --git a/docs/guides/mongodb/scaling/vertical-scaling/replicaset.md b/docs/guides/mongodb/scaling/vertical-scaling/replicaset.md index d0091bde76..505d567a08 100644 --- a/docs/guides/mongodb/scaling/vertical-scaling/replicaset.md +++ b/docs/guides/mongodb/scaling/vertical-scaling/replicaset.md @@ -125,12 +125,13 @@ spec: name: mg-replicaset verticalScaling: replicaSet: - requests: - memory: "1.2Gi" - cpu: "0.6" - limits: - memory: "1.2Gi" - cpu: "0.6" + resources: + requests: + memory: "1.2Gi" + cpu: "0.6" + limits: + memory: "1.2Gi" + cpu: "0.6" readinessCriteria: oplogMaxLagSeconds: 20 objectsCountDiffPercentage: 10 diff --git a/docs/guides/mongodb/scaling/vertical-scaling/sharding.md b/docs/guides/mongodb/scaling/vertical-scaling/sharding.md index f1e76f0ab3..8f64926c5c 100644 --- a/docs/guides/mongodb/scaling/vertical-scaling/sharding.md +++ b/docs/guides/mongodb/scaling/vertical-scaling/sharding.md @@ -156,26 +156,29 @@ spec: name: mg-sharding verticalScaling: shard: - requests: - memory: "1100Mi" - cpu: "0.55" - limits: - memory: "1100Mi" - cpu: "0.55" + resources: + requests: + memory: "1100Mi" + cpu: "0.55" + limits: + memory: "1100Mi" + cpu: "0.55" configServer: - requests: - memory: "1100Mi" - cpu: "0.55" - limits: - memory: "1100Mi" - cpu: "0.55" + resources: + requests: + memory: "1100Mi" + cpu: "0.55" + limits: + memory: "1100Mi" + cpu: "0.55" mongos: - requests: - memory: "1100Mi" - cpu: "0.55" - limits: - memory: "1100Mi" - cpu: "0.55" + resources: + requests: + memory: "1100Mi" + cpu: "0.55" + limits: + memory: "1100Mi" + cpu: "0.55" readinessCriteria: oplogMaxLagSeconds: 20 objectsCountDiffPercentage: 10 diff --git a/docs/guides/mongodb/scaling/vertical-scaling/standalone.md b/docs/guides/mongodb/scaling/vertical-scaling/standalone.md index 208b6cb285..478904b3fb 100644 --- a/docs/guides/mongodb/scaling/vertical-scaling/standalone.md +++ b/docs/guides/mongodb/scaling/vertical-scaling/standalone.md @@ -121,12 +121,13 @@ spec: name: mg-standalone verticalScaling: standalone: - requests: - memory: "2Gi" - cpu: "1" - limits: - memory: "2Gi" - cpu: "1" + resources: + requests: + memory: "2Gi" + cpu: "1" + limits: + memory: "2Gi" + cpu: "1" readinessCriteria: oplogMaxLagSeconds: 20 objectsCountDiffPercentage: 10 diff --git a/docs/guides/mysql/autoscaler/compute/cluster/examples/sample-mysql.yaml b/docs/guides/mysql/autoscaler/compute/cluster/examples/sample-mysql.yaml index 048b4a8e9c..02aa3a8292 100644 --- a/docs/guides/mysql/autoscaler/compute/cluster/examples/sample-mysql.yaml +++ b/docs/guides/mysql/autoscaler/compute/cluster/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/autoscaler/compute/cluster/index.md b/docs/guides/mysql/autoscaler/compute/cluster/index.md index a9a7175ec9..12a6ac2ef5 100644 --- a/docs/guides/mysql/autoscaler/compute/cluster/index.md +++ b/docs/guides/mysql/autoscaler/compute/cluster/index.md @@ -42,7 +42,7 @@ Here, we are going to deploy a `MySQL` Cluster using a supported version by `Kub #### Deploy MySQL Cluster -In this section, we are going to deploy a MySQL Cluster with version `10.6.4`. Then, in the next section we will set up autoscaling for this database using `MySQLAutoscaler` CRD. Below is the YAML of the `MySQL` CR that we are going to create, +In this section, we are going to deploy a MySQL Cluster with version `10.6.16`. Then, in the next section we will set up autoscaling for this database using `MySQLAutoscaler` CRD. Below is the YAML of the `MySQL` CR that we are going to create, > If you want to autoscale MySQL `Standalone`, Just remove the `spec.Replicas` from the below yaml and rest of the steps are same. ```yaml @@ -52,7 +52,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication @@ -88,7 +88,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.31 Ready 14m +sample-mysql 8.0.35 Ready 14m ``` Let's check the Pod containers resources, diff --git a/docs/guides/mysql/autoscaler/storage/cluster/examples/sample-mysql.yaml b/docs/guides/mysql/autoscaler/storage/cluster/examples/sample-mysql.yaml index fcfd887894..0ae38d21a9 100644 --- a/docs/guides/mysql/autoscaler/storage/cluster/examples/sample-mysql.yaml +++ b/docs/guides/mysql/autoscaler/storage/cluster/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/autoscaler/storage/cluster/index.md b/docs/guides/mysql/autoscaler/storage/cluster/index.md index 60dfe7af43..a4dc29c141 100644 --- a/docs/guides/mysql/autoscaler/storage/cluster/index.md +++ b/docs/guides/mysql/autoscaler/storage/cluster/index.md @@ -69,7 +69,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/backup/auto-backup/examples/sample-mysql-2.yaml b/docs/guides/mysql/backup/auto-backup/examples/sample-mysql-2.yaml index b40072f80a..01c9ace7c0 100644 --- a/docs/guides/mysql/backup/auto-backup/examples/sample-mysql-2.yaml +++ b/docs/guides/mysql/backup/auto-backup/examples/sample-mysql-2.yaml @@ -7,7 +7,7 @@ metadata: stash.appscode.com/backup-blueprint: mysql-backup-template stash.appscode.com/schedule: "*/3 * * * *" spec: - version: "8.0.32" + version: "8.0.35" replicas: 1 storageType: Durable storage: diff --git a/docs/guides/mysql/backup/auto-backup/examples/sample-mysql-3.yaml b/docs/guides/mysql/backup/auto-backup/examples/sample-mysql-3.yaml index e8c3be551c..ce1b4d04b0 100644 --- a/docs/guides/mysql/backup/auto-backup/examples/sample-mysql-3.yaml +++ b/docs/guides/mysql/backup/auto-backup/examples/sample-mysql-3.yaml @@ -7,7 +7,7 @@ metadata: stash.appscode.com/backup-blueprint: mysql-backup-template params.stash.appscode.com/args: --databases mysql spec: - version: "8.0.32" + version: "8.0.35" replicas: 1 storageType: Durable storage: diff --git a/docs/guides/mysql/backup/auto-backup/examples/sample-mysql.yaml b/docs/guides/mysql/backup/auto-backup/examples/sample-mysql.yaml index c9f56aa841..65f0985ed7 100644 --- a/docs/guides/mysql/backup/auto-backup/examples/sample-mysql.yaml +++ b/docs/guides/mysql/backup/auto-backup/examples/sample-mysql.yaml @@ -6,7 +6,7 @@ metadata: annotations: stash.appscode.com/backup-blueprint: mysql-backup-template spec: - version: "8.0.32" + version: "8.0.35" replicas: 1 storageType: Durable storage: diff --git a/docs/guides/mysql/backup/auto-backup/index.md b/docs/guides/mysql/backup/auto-backup/index.md index e57e97e625..2aa27fe79f 100644 --- a/docs/guides/mysql/backup/auto-backup/index.md +++ b/docs/guides/mysql/backup/auto-backup/index.md @@ -135,7 +135,7 @@ metadata: annotations: stash.appscode.com/backup-blueprint: mysql-backup-template spec: - version: "8.0.32" + version: "8.0.35" replicas: 1 storageType: Durable storage: @@ -321,7 +321,7 @@ metadata: stash.appscode.com/backup-blueprint: mysql-backup-template stash.appscode.com/schedule: "*/3 * * * *" spec: - version: "8.0.32" + version: "8.0.35" replicas: 1 storageType: Durable storage: @@ -510,7 +510,7 @@ metadata: stash.appscode.com/backup-blueprint: mysql-backup-template params.stash.appscode.com/args: --databases mysql spec: - version: "8.0.32" + version: "8.0.35" replicas: 1 storageType: Durable storage: diff --git a/docs/guides/mysql/backup/customization/examples/sample-mysql.yaml b/docs/guides/mysql/backup/customization/examples/sample-mysql.yaml index 2b875f9404..5ce13bddaa 100644 --- a/docs/guides/mysql/backup/customization/examples/sample-mysql.yaml +++ b/docs/guides/mysql/backup/customization/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 1 storageType: Durable storage: diff --git a/docs/guides/mysql/backup/standalone/examples/restored-mysql.yaml b/docs/guides/mysql/backup/standalone/examples/restored-mysql.yaml index dee8eb35ad..dec50d8982 100644 --- a/docs/guides/mysql/backup/standalone/examples/restored-mysql.yaml +++ b/docs/guides/mysql/backup/standalone/examples/restored-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: restored-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 1 storageType: Durable storage: diff --git a/docs/guides/mysql/backup/standalone/examples/sample-mysql.yaml b/docs/guides/mysql/backup/standalone/examples/sample-mysql.yaml index 868505638c..275b8b2d70 100644 --- a/docs/guides/mysql/backup/standalone/examples/sample-mysql.yaml +++ b/docs/guides/mysql/backup/standalone/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 1 storageType: Durable storage: diff --git a/docs/guides/mysql/backup/standalone/index.md b/docs/guides/mysql/backup/standalone/index.md index 432a5a647e..e06f6ec4f8 100644 --- a/docs/guides/mysql/backup/standalone/index.md +++ b/docs/guides/mysql/backup/standalone/index.md @@ -57,7 +57,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 1 storageType: Durable storage: @@ -83,7 +83,7 @@ Let's check if the database is ready to use, ```bash $ kubectl get my -n demo sample-mysql NAME VERSION STATUS AGE -sample-mysql 8.0.32 Ready 4m22s +sample-mysql 8.0.35 Ready 4m22s ``` The database is `Ready`. Verify that KubeDB has created a Secret and a Service for this database using the following commands, @@ -123,7 +123,7 @@ kind: AppBinding metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | - {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"sample-mysql","namespace":"demo"},"spec":{"replicas":1,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"50Mi"}}},"storageType":"Durable","terminationPolicy":"WipeOut","version":"8.0.32"}} + {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"sample-mysql","namespace":"demo"},"spec":{"replicas":1,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"50Mi"}}},"storageType":"Durable","terminationPolicy":"WipeOut","version":"8.0.35"}} creationTimestamp: "2022-06-30T05:45:43Z" generation: 1 labels: @@ -165,7 +165,7 @@ spec: secret: name: sample-mysql-auth type: kubedb.com/mysql - version: 8.0.32 + version: 8.0.35 ``` Stash uses the AppBinding CRD to connect with the target database. It requires the following two fields to set in AppBinding's `.spec` section. @@ -445,7 +445,7 @@ metadata: name: restored-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 1 storageType: Durable storage: @@ -471,7 +471,7 @@ If you check the database status, you will see it is stuck in **`Provisioning`** ```bash $ kubectl get my -n demo restored-mysql NAME VERSION STATUS AGE -restored-mysql 8.0.32 Provisioning 61s +restored-mysql 8.0.35 Provisioning 61s ``` #### Create RestoreSession: diff --git a/docs/guides/mysql/cli/index.md b/docs/guides/mysql/cli/index.md index a66be91eea..ffc44efe27 100644 --- a/docs/guides/mysql/cli/index.md +++ b/docs/guides/mysql/cli/index.md @@ -47,8 +47,8 @@ cat mysql-demo.yaml | kubectl create -f - ```bash $ kubectl get mysql NAME VERSION STATUS AGE -mysql-demo 8.0.32 Running 5m1s -mysql-dev 5.7.41 Running 10m1s +mysql-demo 8.0.35 Running 5m1s +mysql-dev 5.7.44 Running 10m1s ``` To get YAML of an object, use `--output=yaml` flag. @@ -106,7 +106,7 @@ spec: storageClassName: standard storageType: Durable terminationPolicy: Delete - version: 8.0.32 + version: 8.0.35 ``` To get JSON of an object, use `--output=json` flag. @@ -127,13 +127,13 @@ service/mysql-demo ClusterIP 10.107.205.135 3306/TCP service/mysql-demo-pods ClusterIP None 3306/TCP 2m17s app.kubernetes.io/instance=mysql-demo,app.kubernetes.io/managed-by=kubedb.com,app.kubernetes.io/name=mysqls.kubedb.com NAME READY AGE CONTAINERS IMAGES -statefulset.apps/mysql-demo 1/1 2m17s mysql kubedb/mysql:8.0.32 +statefulset.apps/mysql-demo 1/1 2m17s mysql kubedb/mysql:8.0.35 NAME TYPE VERSION AGE -appbinding.appcatalog.appscode.com/mysql-demo kubedb.com/mysql 8.0.32 2m17s +appbinding.appcatalog.appscode.com/mysql-demo kubedb.com/mysql 8.0.35 2m17s NAME VERSION STATUS AGE -mysql.kubedb.com/mysql-demo 8.0.32 Ready 2m17s +mysql.kubedb.com/mysql-demo 8.0.35 Ready 2m17s ``` Flag `--output=wide` is used to print additional information. @@ -226,7 +226,7 @@ Auth Secret: AppBinding: Metadata: Annotations: - kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-demo","namespace":"demo"},"spec":{"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"version":"8.0.32"}} + kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-demo","namespace":"demo"},"spec":{"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"version":"8.0.35"}} Creation Timestamp: 2021-03-15T11:53:48Z Labels: @@ -250,13 +250,13 @@ AppBinding: Stash: Addon: Backup Task: - Name: mysql-backup-8.0.32 + Name: mysql-backup-8.0.35 Restore Task: - Name: mysql-restore-8.0.32 + Name: mysql-restore-8.0.35 Secret: Name: mysql-demo-auth Type: kubedb.com/mysql - Version: 8.0.32 + Version: 8.0.35 Events: Type Reason Age From Message diff --git a/docs/guides/mysql/cli/yamls/mysql-demo.yaml b/docs/guides/mysql/cli/yamls/mysql-demo.yaml index be5f16c08c..addd02e541 100644 --- a/docs/guides/mysql/cli/yamls/mysql-demo.yaml +++ b/docs/guides/mysql/cli/yamls/mysql-demo.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-demo namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storage: storageClassName: "standard" accessModes: diff --git a/docs/guides/mysql/clients/index.md b/docs/guides/mysql/clients/index.md index 38d2d29873..1d955d073c 100644 --- a/docs/guides/mysql/clients/index.md +++ b/docs/guides/mysql/clients/index.md @@ -48,7 +48,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication @@ -84,7 +84,7 @@ $ watch -n 3 kubectl get my -n demo my-group Every 3.0s: kubectl get my -n demo my-group suaas-appscode: Wed Sep 9 10:54:34 2020 NAME VERSION STATUS AGE -my-group 8.0.32 Running 16m +my-group 8.0.35 Running 16m $ watch -n 3 kubectl get sts -n demo my-group ery 3.0s: kubectl get sts -n demo my-group suaas-appscode: Wed Sep 9 10:53:52 2020 @@ -183,7 +183,7 @@ Auth Secret: AppBinding: Metadata: Annotations: - kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"my-group","namespace":"demo"},"spec":{"replicas":3,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"WipeOut","topology":{"group":{"name":"dc002fc3-c412-4d18-b1d4-66c1fbfbbc9b"},"mode":"GroupReplication"},"version":"8.0.32"}} + kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"my-group","namespace":"demo"},"spec":{"replicas":3,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"WipeOut","topology":{"group":{"name":"dc002fc3-c412-4d18-b1d4-66c1fbfbbc9b"},"mode":"GroupReplication"},"version":"8.0.35"}} Creation Timestamp: 2021-03-15T12:18:35Z Labels: @@ -207,16 +207,16 @@ AppBinding: Stash: Addon: Backup Task: - Name: mysql-backup-8.0.32 + Name: mysql-backup-8.0.35 Params: Name: args Value: --all-databases --set-gtid-purged=OFF Restore Task: - Name: mysql-restore-8.0.32 + Name: mysql-restore-8.0.35 Secret: Name: my-group-auth Type: kubedb.com/mysql - Version: 8.0.32 + Version: 8.0.35 Events: Type Reason Age From Message diff --git a/docs/guides/mysql/clients/yamls/group-replication.yaml b/docs/guides/mysql/clients/yamls/group-replication.yaml index e62de33b19..25d93bcfb2 100644 --- a/docs/guides/mysql/clients/yamls/group-replication.yaml +++ b/docs/guides/mysql/clients/yamls/group-replication.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/clustering/group-replication/index.md b/docs/guides/mysql/clustering/group-replication/index.md index 66c4a92727..195ad6a756 100644 --- a/docs/guides/mysql/clustering/group-replication/index.md +++ b/docs/guides/mysql/clustering/group-replication/index.md @@ -48,7 +48,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication @@ -161,7 +161,7 @@ Auth Secret: AppBinding: Metadata: Annotations: - kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"my-group","namespace":"demo"},"spec":{"replicas":3,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"WipeOut","topology":{"group":{"name":"dc002fc3-c412-4d18-b1d4-66c1fbfbbc9b"},"mode":"GroupReplication"},"version":"8.0.32"}} + kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"my-group","namespace":"demo"},"spec":{"replicas":3,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"WipeOut","topology":{"group":{"name":"dc002fc3-c412-4d18-b1d4-66c1fbfbbc9b"},"mode":"GroupReplication"},"version":"8.0.35"}} Creation Timestamp: 2022-06-28T11:54:10Z Labels: @@ -194,7 +194,7 @@ AppBinding: Secret: Name: my-group-auth Type: kubedb.com/mysql - Version: 8.0.32 + Version: 8.0.35 Events: Type Reason Age From Message @@ -292,7 +292,7 @@ spec: group: name: dc002fc3-c412-4d18-b1d4-66c1fbfbbc9b mode: GroupReplication - version: 8.0.32 + version: 8.0.35 status: observedGeneration: 2$4213139756412538772 phase: Running @@ -394,9 +394,9 @@ mysql: [Warning] Using a password on the command line interface can be insecure. +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ | CHANNEL_NAME | MEMBER_ID | MEMBER_HOST | MEMBER_PORT | MEMBER_STATE | MEMBER_ROLE | MEMBER_VERSION | MEMBER_COMMUNICATION_STACK | +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ -| group_replication_applier | 13aad5a5-f6d9-11ec-87bb-96e838330519 | my-group-2.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.32 | XCom | -| group_replication_applier | 1739589f-f6d9-11ec-956c-c2c213efafa8 | my-group-1.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.32 | XCom | -| group_replication_applier | 1ace16b5-f6d9-11ec-9a26-9ae7d6def698 | my-group-0.my-group-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.32 | XCom | +| group_replication_applier | 13aad5a5-f6d9-11ec-87bb-96e838330519 | my-group-2.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | XCom | +| group_replication_applier | 1739589f-f6d9-11ec-956c-c2c213efafa8 | my-group-1.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | XCom | +| group_replication_applier | 1ace16b5-f6d9-11ec-9a26-9ae7d6def698 | my-group-0.my-group-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.35 | XCom | +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ ``` @@ -496,9 +496,9 @@ mysql: [Warning] Using a password on the command line interface can be insecure. +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ | CHANNEL_NAME | MEMBER_ID | MEMBER_HOST | MEMBER_PORT | MEMBER_STATE | MEMBER_ROLE | MEMBER_VERSION | MEMBER_COMMUNICATION_STACK | +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ -| group_replication_applier | 13aad5a5-f6d9-11ec-87bb-96e838330519 | my-group-2.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.32 | XCom | -| group_replication_applier | 1739589f-f6d9-11ec-956c-c2c213efafa8 | my-group-1.my-group-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.32 | XCom | -| group_replication_applier | 1ace16b5-f6d9-11ec-9a26-9ae7d6def698 | my-group-0.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.32 | XCom | +| group_replication_applier | 13aad5a5-f6d9-11ec-87bb-96e838330519 | my-group-2.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | XCom | +| group_replication_applier | 1739589f-f6d9-11ec-956c-c2c213efafa8 | my-group-1.my-group-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.35 | XCom | +| group_replication_applier | 1ace16b5-f6d9-11ec-9a26-9ae7d6def698 | my-group-0.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | XCom | +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ diff --git a/docs/guides/mysql/clustering/group-replication/yamls/group-replication.yaml b/docs/guides/mysql/clustering/group-replication/yamls/group-replication.yaml index c0cf2f3986..6e237033a0 100644 --- a/docs/guides/mysql/clustering/group-replication/yamls/group-replication.yaml +++ b/docs/guides/mysql/clustering/group-replication/yamls/group-replication.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/clustering/innodb-cluster/index.md b/docs/guides/mysql/clustering/innodb-cluster/index.md index 10e126f94b..7f22c86a21 100644 --- a/docs/guides/mysql/clustering/innodb-cluster/index.md +++ b/docs/guides/mysql/clustering/innodb-cluster/index.md @@ -202,7 +202,7 @@ AppBinding: Secret: Name: innodb-auth Type: kubedb.com/mysql - Version: 8.0.31 + Version: 8.0.35 Events: Type Reason Age From Message @@ -412,7 +412,7 @@ $ kubectl exec -it -n demo innodb-0 -c mysql -- mysqlsh -u root --password='ny5j "replicationLag": "applier_queue_applied", "role": "HA", "status": "ONLINE", - "version": "8.0.31" + "version": "8.0.35" }, "innodb-1.innodb-pods.demo.svc:3306": { "address": "innodb-1.innodb-pods.demo.svc:3306", @@ -422,7 +422,7 @@ $ kubectl exec -it -n demo innodb-0 -c mysql -- mysqlsh -u root --password='ny5j "replicationLag": "applier_queue_applied", "role": "HA", "status": "ONLINE", - "version": "8.0.31" + "version": "8.0.35" }, "innodb-2.innodb-pods.demo.svc:3306": { "address": "innodb-2.innodb-pods.demo.svc:3306", @@ -432,7 +432,7 @@ $ kubectl exec -it -n demo innodb-0 -c mysql -- mysqlsh -u root --password='ny5j "replicationLag": "applier_queue_applied", "role": "HA", "status": "ONLINE", - "version": "8.0.31" + "version": "8.0.35" } }, "topologyMode": "Single-Primary" @@ -538,9 +538,9 @@ mysql: [Warning] Using a password on the command line interface can be insecure. +---------------------------+--------------------------------------+-------------------------------+-------------+--------------+-------------+----------------+----------------------------+ | CHANNEL_NAME | MEMBER_ID | MEMBER_HOST | MEMBER_PORT | MEMBER_STATE | MEMBER_ROLE | MEMBER_VERSION | MEMBER_COMMUNICATION_STACK | +---------------------------+--------------------------------------+-------------------------------+-------------+--------------+-------------+----------------+----------------------------+ -| group_replication_applier | 294f333c-64c6-11ed-9893-468480005d43 | innodb-0.innodb-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.31 | MySQL | -| group_replication_applier | 2b77185f-64c6-11ed-9621-e21f33a1cdb1 | innodb-1.innodb-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.31 | MySQL | -| group_replication_applier | 2f0da15c-64c6-11ed-951a-fa8d12ce91a2 | innodb-2.innodb-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.31 | MySQL | +| group_replication_applier | 294f333c-64c6-11ed-9893-468480005d43 | innodb-0.innodb-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | MySQL | +| group_replication_applier | 2b77185f-64c6-11ed-9621-e21f33a1cdb1 | innodb-1.innodb-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.35 | MySQL | +| group_replication_applier | 2f0da15c-64c6-11ed-951a-fa8d12ce91a2 | innodb-2.innodb-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | MySQL | +---------------------------+--------------------------------------+-------------------------------+-------------+--------------+-------------+----------------+----------------------------+ diff --git a/docs/guides/mysql/clustering/overview/images/yamls/group-replication.yaml b/docs/guides/mysql/clustering/overview/images/yamls/group-replication.yaml index e62de33b19..25d93bcfb2 100644 --- a/docs/guides/mysql/clustering/overview/images/yamls/group-replication.yaml +++ b/docs/guides/mysql/clustering/overview/images/yamls/group-replication.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/clustering/remote-replica/index.md b/docs/guides/mysql/clustering/remote-replica/index.md index e7505e250c..9a46a98871 100644 --- a/docs/guides/mysql/clustering/remote-replica/index.md +++ b/docs/guides/mysql/clustering/remote-replica/index.md @@ -114,7 +114,7 @@ metadata: spec: authSecret: name: mysql-singapore-auth - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication @@ -154,7 +154,7 @@ KubeDB operator sets the `status.phase` to `Ready` once the database is successf ```bash $ kubectl get mysql -n demo NAME VERSION STATUS AGE -mysql-singapore 8.0.31 Ready 22h +mysql-singapore 8.0.35 Ready 22h ``` ## Connect with MySQL database @@ -262,7 +262,7 @@ appbinding.appcatalog.appscode.com/mysql-singapore created $ kubectl get appbinding -n demo NAME TYPE VERSION AGE -mysql-singapore kubedb.com/mysql 8.0.31 4m17s +mysql-singapore kubedb.com/mysql 8.0.35 4m17s ``` ### Create remote replica auth @@ -297,7 +297,7 @@ spec: periodSeconds: 10 timeoutSeconds: 10 disableWriteCheck: true - version: "8.0.31" + version: "8.0.35" replicas: 1 topology: mode: RemoteReplica @@ -332,7 +332,7 @@ KubeDB operator sets the `status.phase` to `Ready` once the database is successf ```bash $ kubectl get mysql -n demo NAME VERSION STATUS AGE -mysql-london 8.0.31 Ready 7m17s +mysql-london 8.0.35 Ready 7m17s ``` ## Validate Remote Replica diff --git a/docs/guides/mysql/clustering/remote-replica/yamls/mysql-london.yaml b/docs/guides/mysql/clustering/remote-replica/yamls/mysql-london.yaml index ba5a4a62a8..38da446463 100644 --- a/docs/guides/mysql/clustering/remote-replica/yamls/mysql-london.yaml +++ b/docs/guides/mysql/clustering/remote-replica/yamls/mysql-london.yaml @@ -11,7 +11,7 @@ spec: periodSeconds: 10 timeoutSeconds: 10 disableWriteCheck: true - version: "8.0.31" + version: "8.0.35" replicas: 1 topology: mode: RemoteReplica diff --git a/docs/guides/mysql/clustering/remote-replica/yamls/mysql-singapore.yaml b/docs/guides/mysql/clustering/remote-replica/yamls/mysql-singapore.yaml index b0246fef2e..6d51b3a5ed 100644 --- a/docs/guides/mysql/clustering/remote-replica/yamls/mysql-singapore.yaml +++ b/docs/guides/mysql/clustering/remote-replica/yamls/mysql-singapore.yaml @@ -6,7 +6,7 @@ metadata: spec: authSecret: name: mysql-singapore-auth - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/clustering/semi-sync/index.md b/docs/guides/mysql/clustering/semi-sync/index.md index 4b97247df4..c40b497cc5 100644 --- a/docs/guides/mysql/clustering/semi-sync/index.md +++ b/docs/guides/mysql/clustering/semi-sync/index.md @@ -48,7 +48,7 @@ metadata: name: semi-sync-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync @@ -174,7 +174,7 @@ Auth Secret: AppBinding: Metadata: Annotations: - kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"semi-sync-mysql","namespace":"demo"},"spec":{"replicas":3,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"WipeOut","topology":{"mode":"SemiSync","semiSync":{"errantTransactionRecoveryPolicy":"PseudoTransaction","sourceTimeout":"23h","sourceWaitForReplicaCount":1}},"version":"8.0.31"}} + kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"semi-sync-mysql","namespace":"demo"},"spec":{"replicas":3,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"WipeOut","topology":{"mode":"SemiSync","semiSync":{"errantTransactionRecoveryPolicy":"PseudoTransaction","sourceTimeout":"23h","sourceWaitForReplicaCount":1}},"version":"8.0.35"}} Creation Timestamp: 2022-11-16T05:45:53Z Labels: @@ -207,7 +207,7 @@ AppBinding: Secret: Name: semi-sync-mysql-auth Type: kubedb.com/mysql - Version: 8.0.31 + Version: 8.0.35 Events: Type Reason Age From Message @@ -265,7 +265,7 @@ KubeDB operator sets the `status.phase` to `Ready` once the database is successf ```bash $ kubectl get mysql -n demo NAME VERSION STATUS AGE -semi-sync-mysql 8.0.31 Ready 16m +semi-sync-mysql 8.0.35 Ready 16m ``` ```yaml @@ -311,7 +311,7 @@ spec: sourceTimeout: 23h0m0s sourceWaitForReplicaCount: 1 useAddressType: DNS - version: 8.0.31 + version: 8.0.35 status: conditions: ... diff --git a/docs/guides/mysql/clustering/semi-sync/yamls/semi-sync.yaml b/docs/guides/mysql/clustering/semi-sync/yamls/semi-sync.yaml index 2e2e86b799..0cba8f643e 100644 --- a/docs/guides/mysql/clustering/semi-sync/yamls/semi-sync.yaml +++ b/docs/guides/mysql/clustering/semi-sync/yamls/semi-sync.yaml @@ -4,7 +4,7 @@ metadata: name: semi-sync-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync diff --git a/docs/guides/mysql/concepts/appbinding/index.md b/docs/guides/mysql/concepts/appbinding/index.md index 1db4a8f4d5..c99abb8825 100644 --- a/docs/guides/mysql/concepts/appbinding/index.md +++ b/docs/guides/mysql/concepts/appbinding/index.md @@ -34,7 +34,7 @@ kind: AppBinding metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | - {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-group","namespace":"demo"},"spec":{"configSecret":{"name":"my-configuration"},"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"version":"8.0.32"}} + {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-group","namespace":"demo"},"spec":{"configSecret":{"name":"my-configuration"},"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"version":"8.0.35"}} creationTimestamp: "2022-06-28T10:08:03Z" generation: 1 labels: @@ -76,7 +76,7 @@ spec: secret: name: mysql-group-auth type: kubedb.com/mysql - version: 8.0.32 + version: 8.0.35 ``` diff --git a/docs/guides/mysql/concepts/catalog/index.md b/docs/guides/mysql/concepts/catalog/index.md index 99d0497d4b..d3a8b46a67 100644 --- a/docs/guides/mysql/concepts/catalog/index.md +++ b/docs/guides/mysql/concepts/catalog/index.md @@ -41,19 +41,19 @@ metadata: app.kubernetes.io/name: kubedb-catalog app.kubernetes.io/version: v2022.03.28 helm.sh/chart: kubedb-catalog-v2022.03.28 - name: 8.0.32 + name: 8.0.35 resourceVersion: "1575483" uid: 4e605d5f-a6f0-42cb-a125-b4b4fd02e41e spec: coordinator: image: kubedb/mysql-coordinator:v0.4.0-2-g49a2d26-dirty_linux_amd64 db: - image: mysql:8.0.32 + image: mysql:8.0.35 distribution: Official exporter: image: kubedb/mysqld-exporter:v0.13.1 initContainer: - image: kubedb/mysql-init:8.0.32_linux_amd64 + image: kubedb/mysql-init:8.0.35_linux_amd64 podSecurityPolicies: databasePolicyName: mysql-db replicationModeDetector: @@ -67,10 +67,10 @@ spec: updateConstraints: denylist: groupReplication: - - < 8.0.32 + - < 8.0.35 standalone: - - < 8.0.32 - version: 8.0.32 + - < 8.0.35 + version: 8.0.35 ``` ### metadata.name diff --git a/docs/guides/mysql/concepts/database/index.md b/docs/guides/mysql/concepts/database/index.md index 2a59594f6c..460c3206df 100644 --- a/docs/guides/mysql/concepts/database/index.md +++ b/docs/guides/mysql/concepts/database/index.md @@ -29,7 +29,7 @@ metadata: name: m1 namespace: demo spec: - version: "8.0.32" + version: "8.0.35" topology: mode: GroupReplication authSecret: @@ -113,9 +113,9 @@ spec: `spec.version` is a required field specifying the name of the [MySQLVersion](/docs/guides/mysql/concepts/catalog/index.md) crd where the docker images are specified. Currently, when you install KubeDB, it creates the following `MySQLVersion` resources, -- `8.0.32`, `8.0.32`, `8.0.17`, `8.0.3-v4` -- `8.0.32-innodb` -- `5.7.41`, `5.7.35-v1`,`5.7.25-v2` +- `8.0.35`, `8.0.35`, `8.0.17`, `8.0.3-v4` +- `8.0.31-innodb` +- `5.7.44`, `5.7.35-v1`,`5.7.25-v2` ### spec.topology @@ -194,7 +194,7 @@ metadata: name: m1 namespace: demo spec: - version: 8.0.32 + version: 8.0.35 init: script: configMap: diff --git a/docs/guides/mysql/concepts/opsrequest/index.md b/docs/guides/mysql/concepts/opsrequest/index.md index 06dcf5d1b2..89c507304c 100644 --- a/docs/guides/mysql/concepts/opsrequest/index.md +++ b/docs/guides/mysql/concepts/opsrequest/index.md @@ -37,7 +37,7 @@ spec: name: my-group type: UpdateVersion updateVersion: - targetVersion: 8.0.32 + targetVersion: 8.0.35 status: conditions: - lastTransitionTime: "2022-06-16T13:52:58Z" @@ -90,12 +90,13 @@ spec: type: VerticalScaling verticalScaling: mysql: - requests: - memory: "1200Mi" - cpu: "0.7" - limits: - memory: "1200Mi" - cpu: "0.7" + resources: + requests: + memory: "1200Mi" + cpu: "0.7" + limits: + memory: "1200Mi" + cpu: "0.7" status: conditions: - lastTransitionTime: "2022-06-11T09:59:05Z" diff --git a/docs/guides/mysql/configuration/config-file/index.md b/docs/guides/mysql/configuration/config-file/index.md index 3769a46b0c..69269ea165 100644 --- a/docs/guides/mysql/configuration/config-file/index.md +++ b/docs/guides/mysql/configuration/config-file/index.md @@ -103,7 +103,7 @@ metadata: name: custom-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" configSecret: name: my-configuration storage: @@ -129,19 +129,19 @@ Check the pod's log to see if the database is ready ```bash $ kubectl logs -f -n demo custom-mysql-0 -2022-06-28 13:22:10+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.32-1debian10 started. +2022-06-28 13:22:10+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.35-1debian10 started. 2022-06-28 13:22:10+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' .... 2022-06-28 13:22:20+00:00 [Note] [Entrypoint]: Database files initialized 2022-06-28 13:22:20+00:00 [Note] [Entrypoint]: Starting temporary server -2022-06-28T13:22:20.233556Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.32) starting as process 92 +2022-06-28T13:22:20.233556Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.35) starting as process 92 2022-06-28T13:22:20.252075Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2022-06-28T13:22:20.543772Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. ... 2022-06-28 13:22:22+00:00 [Note] [Entrypoint]: Stopping temporary server -2022-06-28T13:22:22.354537Z 10 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.32). -2022-06-28T13:22:24.495121Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.32) MySQL Community Server - GPL. +2022-06-28T13:22:22.354537Z 10 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.35). +2022-06-28T13:22:24.495121Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.35) MySQL Community Server - GPL. 2022-06-28 13:22:25+00:00 [Note] [Entrypoint]: Temporary server stopped 2022-06-28 13:22:25+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up. @@ -149,7 +149,7 @@ $ kubectl logs -f -n demo custom-mysql-0 .... 2022-06-28T13:22:26.064259Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. 2022-06-28T13:22:26.076352Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock -2022-06-28T13:22:26.076407Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.32' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL. +2022-06-28T13:22:26.076407Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.35' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL. .... ``` diff --git a/docs/guides/mysql/configuration/config-file/yamls/mysql-custom.yaml b/docs/guides/mysql/configuration/config-file/yamls/mysql-custom.yaml index 7d747ea041..fddf33deb2 100644 --- a/docs/guides/mysql/configuration/config-file/yamls/mysql-custom.yaml +++ b/docs/guides/mysql/configuration/config-file/yamls/mysql-custom.yaml @@ -4,7 +4,7 @@ metadata: name: custom-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" configSecret: name: my-configuration storage: diff --git a/docs/guides/mysql/configuration/podtemplating/index.md b/docs/guides/mysql/configuration/podtemplating/index.md index 883c62ae42..bdec79ba54 100644 --- a/docs/guides/mysql/configuration/podtemplating/index.md +++ b/docs/guides/mysql/configuration/podtemplating/index.md @@ -60,7 +60,7 @@ Read about the fields in details in [PodTemplate concept](/docs/guides/mysql/con Below is the YAML for the MySQL created in this example. Here, [`spec.podTemplate.spec.env`](/docs/guides/mysql/concepts/database/index.md#specpodtemplatespecenv) specifies environment variables and [`spec.podTemplate.spec.args`](/docs/guides/mysql/concepts/database/index.md#specpodtemplatespecargs) provides extra arguments for [MySQL Docker Image](https://hub.docker.com/_/mysql/). -In this tutorial, an initial database `myDB` will be created by providing `env` `MYSQL_DATABASE` while the server character set will be set to `utf8mb4` by adding extra `args`. Note that, `character-set-server` in `MySQL 5.7.41` is `latin1`. +In this tutorial, an initial database `myDB` will be created by providing `env` `MYSQL_DATABASE` while the server character set will be set to `utf8mb4` by adding extra `args`. Note that, `character-set-server` in `MySQL 5.7.44` is `latin1`. ```yaml apiVersion: kubedb.com/v1alpha2 @@ -69,7 +69,7 @@ metadata: name: mysql-misc-config namespace: demo spec: - version: "5.7.41" + version: "5.7.44" storageType: "Durable" storage: storageClassName: "standard" @@ -132,7 +132,7 @@ MySQL init process in progress... MySQL init process done. Ready for start up. .... 2022-06-28T13:22:26.076407Z 0 [Note] mysqld: ready for connections. -Version: '5.7.41' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL) +Version: '5.7.44' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL) .... ``` diff --git a/docs/guides/mysql/configuration/podtemplating/yamls/mysql-misc-config.yaml b/docs/guides/mysql/configuration/podtemplating/yamls/mysql-misc-config.yaml index a1185bd7ec..dcaf4deb5e 100644 --- a/docs/guides/mysql/configuration/podtemplating/yamls/mysql-misc-config.yaml +++ b/docs/guides/mysql/configuration/podtemplating/yamls/mysql-misc-config.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-misc-config namespace: demo spec: - version: "5.7.41" + version: "5.7.44" storageType: "Durable" storage: storageClassName: "standard" diff --git a/docs/guides/mysql/custom-rbac/index.md b/docs/guides/mysql/custom-rbac/index.md index 0182b8ae7a..4298ab2a35 100644 --- a/docs/guides/mysql/custom-rbac/index.md +++ b/docs/guides/mysql/custom-rbac/index.md @@ -142,7 +142,7 @@ metadata: name: quick-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable podTemplate: spec: @@ -172,13 +172,13 @@ Check the pod's log to see if the database is ready ```bash $ kubectl logs -f -n demo quick-mysql-0 ... -2022-06-28 13:46:46+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.32-1debian10 started. +2022-06-28 13:46:46+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.35-1debian10 started. 2022-06-28 13:46:46+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' -2022-06-28 13:46:46+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.32-1debian10 started. +2022-06-28 13:46:46+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.35-1debian10 started. ... 2022-06-28T13:47:02.915445Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock -2022-06-28T13:47:02.915504Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.32' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL. +2022-06-28T13:47:02.915504Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.35' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL. ``` @@ -204,7 +204,7 @@ metadata: name: minute-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable podTemplate: spec: @@ -234,14 +234,14 @@ Check the pod's log to see if the database is ready ```bash ... -2022-06-28 13:48:53+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.32-1debian10 started. +2022-06-28 13:48:53+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.35-1debian10 started. 2022-06-28 13:48:53+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' -2022-06-28 13:48:53+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.32-1debian10 started. +2022-06-28 13:48:53+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.35-1debian10 started. 2022-06-28 13:48:53+00:00 [Note] [Entrypoint]: Initializing database files -2022-06-28T13:48:53.986191Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.32) initializing of server in progress as process 43 +2022-06-28T13:48:53.986191Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.35) initializing of server in progress as process 43 ... 2022-06-28T13:49:11.543893Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock -2022-06-28T13:49:11.543917Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.32' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL. +2022-06-28T13:49:11.543917Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.35' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL. diff --git a/docs/guides/mysql/custom-rbac/yamls/my-custom-db-two.yaml b/docs/guides/mysql/custom-rbac/yamls/my-custom-db-two.yaml index 7c21c507f5..029a81ffae 100644 --- a/docs/guides/mysql/custom-rbac/yamls/my-custom-db-two.yaml +++ b/docs/guides/mysql/custom-rbac/yamls/my-custom-db-two.yaml @@ -4,7 +4,7 @@ metadata: name: minute-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable podTemplate: spec: diff --git a/docs/guides/mysql/custom-rbac/yamls/my-custom-db.yaml b/docs/guides/mysql/custom-rbac/yamls/my-custom-db.yaml index a67d6a173a..11bddb8c97 100644 --- a/docs/guides/mysql/custom-rbac/yamls/my-custom-db.yaml +++ b/docs/guides/mysql/custom-rbac/yamls/my-custom-db.yaml @@ -4,7 +4,7 @@ metadata: name: quick-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable podTemplate: spec: diff --git a/docs/guides/mysql/initialization/index.md b/docs/guides/mysql/initialization/index.md index 5864b09341..9f36109608 100644 --- a/docs/guides/mysql/initialization/index.md +++ b/docs/guides/mysql/initialization/index.md @@ -112,7 +112,7 @@ metadata: name: mysql-init-script namespace: demo spec: - version: "8.0.31" + version: "8.0.35" topology: mode: GroupReplication replicas: 3 @@ -182,7 +182,7 @@ metadata: name: mysql-init-script namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync @@ -220,7 +220,7 @@ metadata: name: mysql-init-script namespace: demo spec: - version: "8.0.31" + version: "8.0.35" storage: storageClassName: "standard" accessModes: @@ -326,7 +326,7 @@ Init: AppBinding: Metadata: Annotations: - kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-init-script","namespace":"demo"},"spec":{"init":{"script":{"configMap":{"name":"my-init-script"}}},"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"version":"8.0.31"}} + kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-init-script","namespace":"demo"},"spec":{"init":{"script":{"configMap":{"name":"my-init-script"}}},"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"version":"8.0.35"}} Creation Timestamp: 2022-06-30T06:21:15Z Labels: @@ -359,7 +359,7 @@ AppBinding: Secret: Name: mysql-init-script-auth Type: kubedb.com/mysql - Version: 8.0.31 + Version: 8.0.35 Events: Type Reason Age From Message @@ -400,7 +400,7 @@ kind: MySQL metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | - {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-init-script","namespace":"demo"},"spec":{"init":{"script":{"configMap":{"name":"my-init-script"}}},"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"version":"8.0.31"}} + {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-init-script","namespace":"demo"},"spec":{"init":{"script":{"configMap":{"name":"my-init-script"}}},"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"version":"8.0.35"}} creationTimestamp: "2022-06-30T06:21:15Z" finalizers: - kubedb.com @@ -449,7 +449,7 @@ spec: storageType: Durable terminationPolicy: Delete useAddressType: DNS - version: 8.0.31 + version: 8.0.35 status: conditions: ... diff --git a/docs/guides/mysql/initialization/yamls/initialize-gr.yaml b/docs/guides/mysql/initialization/yamls/initialize-gr.yaml index 30c3d27618..c64c9ad01a 100644 --- a/docs/guides/mysql/initialization/yamls/initialize-gr.yaml +++ b/docs/guides/mysql/initialization/yamls/initialize-gr.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-init-script namespace: demo spec: - version: "8.0.31" + version: "8.0.35" topology: mode: GroupReplication replicas: 3 diff --git a/docs/guides/mysql/initialization/yamls/initialize-semi-sync.yaml b/docs/guides/mysql/initialization/yamls/initialize-semi-sync.yaml index 90925f1dab..2c0bb9af7b 100644 --- a/docs/guides/mysql/initialization/yamls/initialize-semi-sync.yaml +++ b/docs/guides/mysql/initialization/yamls/initialize-semi-sync.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-init-script namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync diff --git a/docs/guides/mysql/initialization/yamls/initialize-standalone.yaml b/docs/guides/mysql/initialization/yamls/initialize-standalone.yaml index 9f63ed9acb..4544bb9804 100644 --- a/docs/guides/mysql/initialization/yamls/initialize-standalone.yaml +++ b/docs/guides/mysql/initialization/yamls/initialize-standalone.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-init-script namespace: demo spec: - version: "8.0.31" + version: "8.0.35" storage: storageClassName: "standard" accessModes: diff --git a/docs/guides/mysql/monitoring/builtin-prometheus/index.md b/docs/guides/mysql/monitoring/builtin-prometheus/index.md index 3805292d05..fcaa71a99d 100644 --- a/docs/guides/mysql/monitoring/builtin-prometheus/index.md +++ b/docs/guides/mysql/monitoring/builtin-prometheus/index.md @@ -49,7 +49,7 @@ metadata: name: builtin-prom-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" terminationPolicy: WipeOut storage: storageClassName: "standard" @@ -80,7 +80,7 @@ $ watch -n 3 kubectl get mysql -n demo builtin-prom-mysql Every 3.0s: kubectl get mysql -n demo builtin-prom-mysql suaas-appscode: Tue Aug 25 16:07:29 2020 NAME VERSION STATUS AGE -builtin-prom-mysql 8.0.32 Running 3m33s +builtin-prom-mysql 8.0.35 Running 3m33s ``` KubeDB will create a separate stats service with name `{MySQL crd name}-stats` for monitoring purpose. diff --git a/docs/guides/mysql/monitoring/builtin-prometheus/yamls/builtin-prom-mysql.yaml b/docs/guides/mysql/monitoring/builtin-prometheus/yamls/builtin-prom-mysql.yaml index fef95f3b0b..c107c98c9b 100644 --- a/docs/guides/mysql/monitoring/builtin-prometheus/yamls/builtin-prom-mysql.yaml +++ b/docs/guides/mysql/monitoring/builtin-prometheus/yamls/builtin-prom-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: builtin-prom-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" terminationPolicy: WipeOut storage: storageClassName: "standard" diff --git a/docs/guides/mysql/monitoring/overview/index.md b/docs/guides/mysql/monitoring/overview/index.md index 0c0860feb2..785e7aafae 100644 --- a/docs/guides/mysql/monitoring/overview/index.md +++ b/docs/guides/mysql/monitoring/overview/index.md @@ -53,7 +53,7 @@ metadata: name: prom-operator-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" terminationPolicy: WipeOut storage: storageClassName: "standard" diff --git a/docs/guides/mysql/monitoring/prometheus-operator/index.md b/docs/guides/mysql/monitoring/prometheus-operator/index.md index 9974456183..42c41ed182 100644 --- a/docs/guides/mysql/monitoring/prometheus-operator/index.md +++ b/docs/guides/mysql/monitoring/prometheus-operator/index.md @@ -111,7 +111,7 @@ metadata: name: coreos-prom-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" terminationPolicy: WipeOut storage: storageClassName: "standard" @@ -151,7 +151,7 @@ $ watch -n 3 kubectl get mysql -n demo coreos-prom-mysql Every 3.0s: kubectl get mysql -n demo coreos-prom-mysql suaas-appscode: Tue Aug 25 11:53:34 2020 NAME VERSION STATUS AGE -coreos-prom-mysql 8.0.32 Running 2m53s +coreos-prom-mysql 8.0.35 Running 2m53s ``` KubeDB will create a separate stats service with name `{MySQL crd name}-stats` for monitoring purpose. diff --git a/docs/guides/mysql/monitoring/prometheus-operator/yamls/prom-operator-mysql.yaml b/docs/guides/mysql/monitoring/prometheus-operator/yamls/prom-operator-mysql.yaml index e1cea9e374..8cbc3ab4dc 100644 --- a/docs/guides/mysql/monitoring/prometheus-operator/yamls/prom-operator-mysql.yaml +++ b/docs/guides/mysql/monitoring/prometheus-operator/yamls/prom-operator-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: prom-operator-mysql namespace: demo spec: - version: "8.0.32" + version: "8.0.35" terminationPolicy: WipeOut storage: storageClassName: "standard" diff --git a/docs/guides/mysql/private-registry/index.md b/docs/guides/mysql/private-registry/index.md index d44570a613..27c2e134e2 100644 --- a/docs/guides/mysql/private-registry/index.md +++ b/docs/guides/mysql/private-registry/index.md @@ -30,11 +30,11 @@ KubeDB operator supports using private Docker registry. This tutorial will show $ kubectl get mysqlversions -n kube-system -o=custom-columns=NAME:.metadata.name,VERSION:.spec.version,DB_IMAGE:.spec.db.image,EXPORTER_IMAGE:.spec.exporter.image,REPLICATION_MODE_DETECTOR_IMAGE:.spec.replicationModeDetector.image,INITCONTAINER_IMAGE:.spec.initContainer.image,DEPRECATED:.spec.deprecated NAME VERSION DB_IMAGE EXPORTER_IMAGE REPLICATION_MODE_DETECTOR_IMAGE INITCONTAINER_IMAGE DEPRECATED 5.7.35-v1 5.7.35 mysql:5.7.35 kubedb/mysqld-exporter:v0.13.1 kubedb/replication-mode-detector:v0.13.0 kubedb/mysql-init:5.7-v2 -5.7.41 5.7.41 mysql:5.7.41 kubedb/mysqld-exporter:v0.13.1 kubedb/replication-mode-detector:v0.13.0 kubedb/mysql-init:5.7-v2 +5.7.44 5.7.44 mysql:5.7.44 kubedb/mysqld-exporter:v0.13.1 kubedb/replication-mode-detector:v0.13.0 kubedb/mysql-init:5.7-v2 8.0.17 8.0.17 mysql:8.0.17 kubedb/mysqld-exporter:v0.13.1 kubedb/replication-mode-detector:v0.13.0 kubedb/mysql-init:8.0.3-v1 -8.0.32 8.0.32 mysql:8.0.32 kubedb/mysqld-exporter:v0.13.1 kubedb/replication-mode-detector:v0.13.0 kubedb/mysql-init:8.0.26-v1 -8.0.32-innodb 8.0.32 mysql/mysql-server:8.0.32 kubedb/mysqld-exporter:v0.13.1 kubedb/replication-mode-detector:v0.13.0 kubedb/mysql-init:8.0.26-v1 -8.0.32 8.0.32 mysql:8.0.32 kubedb/mysqld-exporter:v0.13.1 kubedb/replication-mode-detector:v0.13.0 kubedb/mysql-init:8.0.32_linux_amd64 +8.0.35 8.0.35 mysql:8.0.35 kubedb/mysqld-exporter:v0.13.1 kubedb/replication-mode-detector:v0.13.0 kubedb/mysql-init:8.0.26-v1 +8.0.31-innodb 8.0.35 mysql/mysql-server:8.0.35 kubedb/mysqld-exporter:v0.13.1 kubedb/replication-mode-detector:v0.13.0 kubedb/mysql-init:8.0.26-v1 +8.0.35 8.0.35 mysql:8.0.35 kubedb/mysqld-exporter:v0.13.1 kubedb/replication-mode-detector:v0.13.0 kubedb/mysql-init:8.0.35_linux_amd64 8.0.3-v4 8.0.3 mysql:8.0.3 kubedb/mysqld-exporter:v0.13.1 kubedb/replication-mode-detector:v0.13.0 kubedb/mysql-init:8.0.3-v1 ``` @@ -51,17 +51,17 @@ NAME VERSION DB_IMAGE EXPORTER_IMAGE apiVersion: catalog.kubedb.com/v1alpha1 kind: MySQLVersion metadata: - name: 8.0.32 + name: 8.0.35 spec: coordinator: image: PRIVATE_REGISTRY/mysql-coordinator:v0.4.0-2-g49a2d26-dirty_linux_amd64 db: - image: PRIVATE_REGISTRY/mysql:8.0.32 + image: PRIVATE_REGISTRY/mysql:8.0.35 distribution: Official exporter: image: PRIVATE_REGISTRY/mysqld-exporter:v0.13.1 initContainer: - image: PRIVATE_REGISTRY/mysql-init:8.0.32_linux_amd64 + image: PRIVATE_REGISTRY/mysql-init:8.0.35_linux_amd64 podSecurityPolicies: databasePolicyName: mysql-db replicationModeDetector: @@ -75,10 +75,10 @@ spec: updateConstraints: denylist: groupReplication: - - < 8.0.32 + - < 8.0.35 standalone: - - < 8.0.32 - version: 8.0.32 + - < 8.0.35 + version: 8.0.35 ``` - To keep things isolated, this tutorial uses a separate namespace called `demo` throughout this tutorial. Run the following command to prepare your cluster for this tutorial: @@ -123,7 +123,7 @@ metadata: name: mysql-pvt-reg namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storage: storageClassName: "standard" accessModes: diff --git a/docs/guides/mysql/private-registry/yamls/quickstart.yaml b/docs/guides/mysql/private-registry/yamls/quickstart.yaml index b4c6d1ad47..770912e63a 100644 --- a/docs/guides/mysql/private-registry/yamls/quickstart.yaml +++ b/docs/guides/mysql/private-registry/yamls/quickstart.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-quickstart namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/mysql/private-registry/yamls/standalone.yaml b/docs/guides/mysql/private-registry/yamls/standalone.yaml index 7bfd4db624..0dcddb779b 100644 --- a/docs/guides/mysql/private-registry/yamls/standalone.yaml +++ b/docs/guides/mysql/private-registry/yamls/standalone.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-pvt-reg namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storage: storageClassName: "standard" accessModes: diff --git a/docs/guides/mysql/quickstart/index.md b/docs/guides/mysql/quickstart/index.md index c04ac2a436..057f087f1e 100644 --- a/docs/guides/mysql/quickstart/index.md +++ b/docs/guides/mysql/quickstart/index.md @@ -51,11 +51,11 @@ When you have installed KubeDB, it has created `MySQLVersion` crd for all suppor $ kubectl get mysqlversions NAME VERSION DISTRIBUTION DB_IMAGE DEPRECATED AGE 5.7.35-v1 5.7.35 Official mysql:5.7.35 9s -5.7.41 5.7.41 Official mysql:5.7.41 9s +5.7.44 5.7.44 Official mysql:5.7.44 9s 8.0.17 8.0.17 Official mysql:8.0.17 9s -8.0.32 8.0.32 Official mysql:8.0.32 9s -8.0.32-innodb 8.0.32 MySQL mysql/mysql-server:8.0.32 9s -8.0.32 8.0.32 Official mysql:8.0.32 9s +8.0.35 8.0.35 Official mysql:8.0.35 9s +8.0.31-innodb 8.0.35 MySQL mysql/mysql-server:8.0.35 9s +8.0.35 8.0.35 Official mysql:8.0.35 9s 8.0.3-v4 8.0.3 Official mysql:8.0.3 9s ``` @@ -71,7 +71,7 @@ metadata: name: mysql-quickstart namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" @@ -90,7 +90,7 @@ mysql.kubedb.com/mysql-quickstart created Here, -- `spec.version` is the name of the MySQLVersion CRD where the docker images are specified. In this tutorial, a MySQL `8.0.32` database is going to be created. +- `spec.version` is the name of the MySQLVersion CRD where the docker images are specified. In this tutorial, a MySQL `8.0.35` database is going to be created. - `spec.storageType` specifies the type of storage that will be used for MySQL database. It can be `Durable` or `Ephemeral`. Default value of this field is `Durable`. If `Ephemeral` is used then KubeDB will create MySQL database using `EmptyDir` volume. In this case, you don't have to specify `spec.storage` field. This is useful for testing purposes. - `spec.storage` specifies the StorageClass of PVC dynamically allocated to store data for this database. This storage spec will be passed to the StatefulSet created by KubeDB operator to run database pods. You can specify any StorageClass available in your cluster with appropriate resource requests. - `spec.terminationPolicy` gives flexibility whether to `nullify`(reject) the delete operation of `MySQL` crd or which resources KubeDB should keep or delete when you delete `MySQL` crd. If admission webhook is enabled, It prevents users from deleting the database as long as the `spec.terminationPolicy` is set to `DoNotTerminate`. Learn details of all `TerminationPolicy` [here](/docs/guides/mysql/concepts/database/index.md#specterminationpolicy) @@ -169,7 +169,7 @@ Auth Secret: AppBinding: Metadata: Annotations: - kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-quickstart","namespace":"demo"},"spec":{"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"DoNotTerminate","version":"8.0.32"}} + kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-quickstart","namespace":"demo"},"spec":{"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"DoNotTerminate","version":"8.0.35"}} Creation Timestamp: 2022-06-03T06:50:40Z Labels: @@ -202,7 +202,7 @@ AppBinding: Secret: Name: mysql-quickstart-auth Type: kubedb.com/mysql - Version: 8.0.32 + Version: 8.0.35 Events: Type Reason Age From Message @@ -244,7 +244,7 @@ kind: MySQL metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | - {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-quickstart","namespace":"demo"},"spec":{"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"DoNotTerminate","version":"8.0.32"}} + {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql-quickstart","namespace":"demo"},"spec":{"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"DoNotTerminate","version":"8.0.35"}} creationTimestamp: "2022-06-03T06:50:40Z" finalizers: - kubedb.com @@ -304,7 +304,7 @@ spec: storageType: Durable terminationPolicy: Delete useAddressType: DNS - version: 8.0.32 + version: 8.0.35 status: conditions: - lastTransitionTime: "2022-06-03T06:50:40Z" @@ -365,7 +365,7 @@ root@mysql-quickstart-0:/# mysql -uroot -p"H(Y.s)pg&cX1Ds3J" Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 351 -Server version: 8.0.32 MySQL Community Server - GPL +Server version: 8.0.35 MySQL Community Server - GPL Copyright (c) 2000, 2022, Oracle and/or its affiliates. @@ -583,7 +583,7 @@ Run the following command to get MySQL resources, ```bash $ kubectl get my,sts,secret,svc,pvc -n demo NAME VERSION STATUS AGE -mysql.kubedb.com/mysql-quickstart 8.0.32 Halted 22m +mysql.kubedb.com/mysql-quickstart 8.0.35 Halted 22m NAME TYPE DATA AGE secret/default-token-lgbjm kubernetes.io/service-account-token 3 27h diff --git a/docs/guides/mysql/quickstart/yamls/quickstart.yaml b/docs/guides/mysql/quickstart/yamls/quickstart.yaml index fe848fec6f..42ab02f949 100644 --- a/docs/guides/mysql/quickstart/yamls/quickstart.yaml +++ b/docs/guides/mysql/quickstart/yamls/quickstart.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-quickstart namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/mysql/reconfigure-tls/reconfigure/index.md b/docs/guides/mysql/reconfigure-tls/reconfigure/index.md index 71a711d0df..5001dc3381 100644 --- a/docs/guides/mysql/reconfigure-tls/reconfigure/index.md +++ b/docs/guides/mysql/reconfigure-tls/reconfigure/index.md @@ -71,7 +71,7 @@ metadata: name: mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" topology: mode: GroupReplication storageType: Durable @@ -138,7 +138,7 @@ metadata: name: semi-sync-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync @@ -176,7 +176,7 @@ metadata: name: mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" @@ -206,7 +206,7 @@ Now, wait until `mysql` has status `Ready`. i.e, ```bash $ kubectl get my -n demo NAME VERSION STATUS AGE -mysql 8.0.31 Ready 75s +mysql 8.0.35 Ready 75s $ kubectl dba describe mysql mysql -n demo Name: mysql @@ -277,7 +277,7 @@ Auth Secret: AppBinding: Metadata: Annotations: - kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql","namespace":"demo"},"spec":{"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"WipeOut","version":"8.0.31"}} + kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"kubedb.com/v1alpha2","kind":"MySQL","metadata":{"annotations":{},"name":"mysql","namespace":"demo"},"spec":{"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"WipeOut","version":"8.0.35"}} Creation Timestamp: 2022-11-21T10:18:49Z Labels: @@ -310,7 +310,7 @@ AppBinding: Secret: Name: mysql-auth Type: kubedb.com/mysql - Version: 8.0.31 + Version: 8.0.35 Events: Type Reason Age From Message @@ -348,7 +348,7 @@ kubectl exec -it mysql-0 -n demo -- mysql -u root --password='f8EyKG)mNMIMdS~a' Defaulted container "mysql" out of: mysql, mysql-init (init) mysql: [Warning] Using a password on the command line interface can be insecure. -------------- -mysql Ver 8.0.31 for Linux on x86_64 (MySQL Community Server - GPL) +mysql Ver 8.0.35 for Linux on x86_64 (MySQL Community Server - GPL) Connection id: 91 Current database: @@ -357,7 +357,7 @@ SSL: Cipher in use is TLS_AES_256_GCM_SHA384 Current pager: stdout Using outfile: '' Using delimiter: ; -Server version: 8.0.31 MySQL Community Server - GPL +Server version: 8.0.35 MySQL Community Server - GPL Protocol version: 10 Connection: mysql-0.mysql-pods.demo via TCP/IP Server characterset: utf8mb4 @@ -614,7 +614,7 @@ bash-4.4# mysql -uroot -p$MYSQL_ROOT_PASSWORD -h mysql.demo.svc --ssl-ca=/etc/my mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 94 -Server version: 8.0.31 MySQL Community Server - GPL +Server version: 8.0.35 MySQL Community Server - GPL Copyright (c) 2000, 2022, Oracle and/or its affiliates. @@ -626,7 +626,7 @@ Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> \s -------------- -mysql Ver 8.0.31 for Linux on x86_64 (MySQL Community Server - GPL) +mysql Ver 8.0.35 for Linux on x86_64 (MySQL Community Server - GPL) Connection id: 94 Current database: @@ -635,7 +635,7 @@ SSL: Cipher in use is TLS_AES_256_GCM_SHA384 Current pager: stdout Using outfile: '' Using delimiter: ; -Server version: 8.0.31 MySQL Community Server - GPL +Server version: 8.0.35 MySQL Community Server - GPL Protocol version: 10 Connection: mysql.demo.svc via TCP/IP Server characterset: utf8mb4 diff --git a/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/group-replication.yaml b/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/group-replication.yaml index 3701376501..89b078bbe3 100644 --- a/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/group-replication.yaml +++ b/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/group-replication.yaml @@ -4,7 +4,7 @@ metadata: name: mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" topology: mode: GroupReplication storageType: Durable diff --git a/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/mysql.yaml b/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/mysql.yaml index af919aa2c3..4e9acf905d 100644 --- a/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/mysql.yaml +++ b/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/semi-sync.yaml b/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/semi-sync.yaml index 1ee33741c0..c0a6a4ec79 100644 --- a/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/semi-sync.yaml +++ b/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/semi-sync.yaml @@ -4,7 +4,7 @@ metadata: name: mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync diff --git a/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/standalone.yaml b/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/standalone.yaml index 56227bfe99..be6a74fc1e 100644 --- a/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/standalone.yaml +++ b/docs/guides/mysql/reconfigure-tls/reconfigure/yamls/standalone.yaml @@ -5,7 +5,7 @@ metadata: name: mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/mysql/reconfigure/reconfigure-steps/index.md b/docs/guides/mysql/reconfigure/reconfigure-steps/index.md index 7df573de19..6eda782090 100644 --- a/docs/guides/mysql/reconfigure/reconfigure-steps/index.md +++ b/docs/guides/mysql/reconfigure/reconfigure-steps/index.md @@ -38,7 +38,7 @@ Now, we are going to deploy a `MySQL` Cluster using a supported version by `Kub ### Prepare MySQL Cluster -Now, we are going to deploy a `MySQL` Cluster database with version `8.0.31`. +Now, we are going to deploy a `MySQL` Cluster database with version `8.0.35`. ### Deploy MySQL @@ -91,7 +91,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" topology: mode: GroupReplication replicas: 3 @@ -164,7 +164,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" topology: mode: SemiSync semiSync: @@ -204,7 +204,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" configSecret: name: my-configuration storageType: Durable @@ -234,7 +234,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.31 Ready 5m49s +sample-mysql 8.0.35 Ready 5m49s ``` Now, we will check if the database has started with the custom configuration we have provided. @@ -257,7 +257,7 @@ mysql -uroot -p$MYSQL_ROOT_PASSWORD mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 112 -Server version: 8.0.31 MySQL Community Server - GPL +Server version: 8.0.35 MySQL Community Server - GPL Copyright (c) 2000, 2022, Oracle and/or its affiliates. @@ -457,7 +457,7 @@ bash-4.4# mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 279 -Server version: 8.0.31 MySQL Community Server - GPL +Server version: 8.0.35 MySQL Community Server - GPL Copyright (c) 2000, 2022, Oracle and/or its affiliates. @@ -546,7 +546,7 @@ bash-4.4# mysql -u${MYSQL_ROOT_USERNAME} -p${MYSQL_ROOT_PASSWORD} mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 279 -Server version: 8.0.31 MySQL Community Server - GPL +Server version: 8.0.35 MySQL Community Server - GPL Copyright (c) 2000, 2022, Oracle and/or its affiliates. diff --git a/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/group-replication.yaml b/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/group-replication.yaml index 65d900645e..29e3b8594f 100644 --- a/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/group-replication.yaml +++ b/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/group-replication.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" topology: mode: GroupReplication replicas: 3 diff --git a/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/semi-sync.yaml b/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/semi-sync.yaml index fc10566dd1..2ef9bea1b2 100644 --- a/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/semi-sync.yaml +++ b/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/semi-sync.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" topology: mode: SemiSync semiSync: diff --git a/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/stand-alone.yaml b/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/stand-alone.yaml index a0633337f7..2e3e54314a 100644 --- a/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/stand-alone.yaml +++ b/docs/guides/mysql/reconfigure/reconfigure-steps/yamls/stand-alone.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" configSecret: name: my-configuration storageType: Durable diff --git a/docs/guides/mysql/scaling/horizontal-scaling/cluster/index.md b/docs/guides/mysql/scaling/horizontal-scaling/cluster/index.md index b821b38386..fba8621c5f 100644 --- a/docs/guides/mysql/scaling/horizontal-scaling/cluster/index.md +++ b/docs/guides/mysql/scaling/horizontal-scaling/cluster/index.md @@ -52,18 +52,18 @@ When you have installed `KubeDB`, it has created `MySQLVersion` CR for all suppo $ kubectl get mysqlversion NAME VERSION DISTRIBUTION DB_IMAGE DEPRECATED AGE 5.7.35-v1 5.7.35 Official mysql:5.7.35 4d2h -5.7.41 5.7.41 Official mysql:5.7.41 4d2h +5.7.44 5.7.44 Official mysql:5.7.44 4d2h 8.0.17 8.0.17 Official mysql:8.0.17 4d2h -8.0.32 8.0.32 Official mysql:8.0.32 4d2h -8.0.32-innodb 8.0.32 MySQL mysql/mysql-server:8.0.32 4d2h -8.0.32 8.0.32 Official mysql:8.0.32 4d2h +8.0.35 8.0.35 Official mysql:8.0.35 4d2h +8.0.31-innodb 8.0.35 MySQL mysql/mysql-server:8.0.35 4d2h +8.0.35 8.0.35 Official mysql:8.0.35 4d2h 8.0.3-v4 8.0.3 Official mysql:8.0.3 4d2h -8.0.31 8.0.31 Official mysql:8.0.31 4d2h -8.0.31-innodb 8.0.31 MySQL mysql/mysql-server:8.0.31 4d2h +8.0.35 8.0.35 Official mysql:8.0.35 4d2h +8.0.31-innodb 8.0.35 MySQL mysql/mysql-server:8.0.35 4d2h ``` -The version above that does not show `DEPRECATED` `true` is supported by `KubeDB` for `MySQL`. You can use any non-deprecated version. Here, we are going to create a MySQL Group Replication using `MySQL` `8.0.31`. +The version above that does not show `DEPRECATED` `true` is supported by `KubeDB` for `MySQL`. You can use any non-deprecated version. Here, we are going to create a MySQL Group Replication using `MySQL` `8.0.35`. **Deploy MySQL Cluster:** @@ -98,7 +98,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication @@ -179,7 +179,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync @@ -221,7 +221,7 @@ $ watch -n 3 kubectl get my -n demo my-group Every 3.0s: kubectl get my -n demo my-group suaas-appscode: Tue Jun 30 22:43:57 2020 NAME VERSION STATUS AGE -my-group 8.0.31 Running 16m +my-group 8.0.35 Running 16m $ watch -n 3 kubectl get sts -n demo my-group Every 3.0s: kubectl get sts -n demo my-group Every 3.0s: kubectl get sts -n demo my-group suaas-appscode: Tue Jun 30 22:44:35 2020 diff --git a/docs/guides/mysql/scaling/horizontal-scaling/cluster/yamls/group-replication.yaml b/docs/guides/mysql/scaling/horizontal-scaling/cluster/yamls/group-replication.yaml index 4a68a5ecea..a18eb3cfef 100644 --- a/docs/guides/mysql/scaling/horizontal-scaling/cluster/yamls/group-replication.yaml +++ b/docs/guides/mysql/scaling/horizontal-scaling/cluster/yamls/group-replication.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/scaling/horizontal-scaling/cluster/yamls/semi-sync.yaml b/docs/guides/mysql/scaling/horizontal-scaling/cluster/yamls/semi-sync.yaml index 2f27930e84..8887e3a612 100644 --- a/docs/guides/mysql/scaling/horizontal-scaling/cluster/yamls/semi-sync.yaml +++ b/docs/guides/mysql/scaling/horizontal-scaling/cluster/yamls/semi-sync.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync diff --git a/docs/guides/mysql/scaling/vertical-scaling/cluster/index.md b/docs/guides/mysql/scaling/vertical-scaling/cluster/index.md index a9d6b6616a..4eadf09978 100644 --- a/docs/guides/mysql/scaling/vertical-scaling/cluster/index.md +++ b/docs/guides/mysql/scaling/vertical-scaling/cluster/index.md @@ -52,17 +52,17 @@ When you have installed `KubeDB`, it has created `MySQLVersion` CR for all suppo $ kubectl get mysqlversion NAME VERSION DISTRIBUTION DB_IMAGE DEPRECATED AGE 5.7.35-v1 5.7.35 Official mysql:5.7.35 4d2h -5.7.41 5.7.41 Official mysql:5.7.41 4d2h +5.7.44 5.7.44 Official mysql:5.7.44 4d2h 8.0.17 8.0.17 Official mysql:8.0.17 4d2h -8.0.32 8.0.32 Official mysql:8.0.32 4d2h -8.0.32-innodb 8.0.32 MySQL mysql/mysql-server:8.0.32 4d2h -8.0.32 8.0.32 Official mysql:8.0.32 4d2h +8.0.35 8.0.35 Official mysql:8.0.35 4d2h +8.0.31-innodb 8.0.35 MySQL mysql/mysql-server:8.0.35 4d2h +8.0.35 8.0.35 Official mysql:8.0.35 4d2h 8.0.3-v4 8.0.3 Official mysql:8.0.3 4d2h -8.0.31 8.0.31 Official mysql:8.0.31 4d2h -8.0.31-innodb 8.0.31 MySQL mysql/mysql-server:8.0.31 4d2h +8.0.35 8.0.35 Official mysql:8.0.35 4d2h +8.0.31-innodb 8.0.35 MySQL mysql/mysql-server:8.0.35 4d2h ``` -The version above that does not show `DEPRECATED` `true` is supported by `KubeDB` for `MySQL`. You can use any non-deprecated version. Here, we are going to create a MySQL Group Replication using non-deprecated `MySQL` version `8.0.31`. +The version above that does not show `DEPRECATED` `true` is supported by `KubeDB` for `MySQL`. You can use any non-deprecated version. Here, we are going to create a MySQL Group Replication using non-deprecated `MySQL` version `8.0.35`. **Deploy MySQL Cluster:** @@ -94,7 +94,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication @@ -167,7 +167,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync @@ -209,7 +209,7 @@ $ watch -n 3 kubectl get my -n demo my-group Every 3.0s: kubectl get my -n demo my-group suaas-appscode: Tue Jun 30 22:43:57 2020 NAME VERSION STATUS AGE -my-group 8.0.31 Running 16m +my-group 8.0.35 Running 16m $ watch -n 3 kubectl get sts -n demo my-group Every 3.0s: kubectl get sts -n demo my-group Every 3.0s: kubectl get sts -n demo my-group suaas-appscode: Tue Jun 30 22:44:35 2020 @@ -255,12 +255,13 @@ spec: name: my-group verticalScaling: mysql: - requests: - memory: "1200Mi" - cpu: "0.7" - limits: - memory: "1200Mi" - cpu: "0.7" + resources: + requests: + memory: "1200Mi" + cpu: "0.7" + limits: + memory: "1200Mi" + cpu: "0.7" ``` Here, diff --git a/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/group-replication.yaml b/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/group-replication.yaml index ae2d91571b..a18eb3cfef 100644 --- a/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/group-replication.yaml +++ b/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/group-replication.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/my-scale-group.yaml b/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/my-scale-group.yaml index 81a1f400eb..427fdce4c3 100644 --- a/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/my-scale-group.yaml +++ b/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/my-scale-group.yaml @@ -4,14 +4,15 @@ metadata: name: my-scale-group namespace: demo spec: - type: VerticalScaling + type: VerticalScaling databaseRef: name: my-group verticalScaling: mysql: - requests: - memory: "1200Mi" - cpu: "0.7" - limits: - memory: "1200Mi" - cpu: "0.7" \ No newline at end of file + resources: + requests: + memory: "1200Mi" + cpu: "0.7" + limits: + memory: "1200Mi" + cpu: "0.7" \ No newline at end of file diff --git a/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/semi-sync.yaml b/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/semi-sync.yaml index 4f088e1c61..6f89afb8b8 100644 --- a/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/semi-sync.yaml +++ b/docs/guides/mysql/scaling/vertical-scaling/cluster/yamls/semi-sync.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync diff --git a/docs/guides/mysql/scaling/vertical-scaling/standalone/index.md b/docs/guides/mysql/scaling/vertical-scaling/standalone/index.md index c2794508e8..5de162f1aa 100644 --- a/docs/guides/mysql/scaling/vertical-scaling/standalone/index.md +++ b/docs/guides/mysql/scaling/vertical-scaling/standalone/index.md @@ -52,17 +52,17 @@ When you have installed `KubeDB`, it has created `MySQLVersion` CR for all suppo $ kubectl get mysqlversion NAME VERSION DB_IMAGE DEPRECATED AGE 5.7.25-v2 5.7.25 kubedb/mysql:5.7.25-v2 3h55m -5.7.41 5.7.29 kubedb/mysql:5.7.41 3h55m -5.7.41 5.7.31 kubedb/mysql:5.7.41 3h55m -5.7.41 5.7.33 kubedb/mysql:5.7.41 3h55m +5.7.44 5.7.29 kubedb/mysql:5.7.44 3h55m +5.7.44 5.7.31 kubedb/mysql:5.7.44 3h55m +5.7.44 5.7.33 kubedb/mysql:5.7.44 3h55m 8.0.14-v2 8.0.14 kubedb/mysql:8.0.14-v2 3h55m 8.0.20-v1 8.0.20 kubedb/mysql:8.0.20-v1 3h55m -8.0.32 8.0.21 kubedb/mysql:8.0.32 3h55m -8.0.32 8.0.32 kubedb/mysql:8.0.32 3h55m +8.0.35 8.0.21 kubedb/mysql:8.0.35 3h55m +8.0.35 8.0.35 kubedb/mysql:8.0.35 3h55m 8.0.3-v2 8.0.3 kubedb/mysql:8.0.3-v2 3h55m ``` -The version above that does not show `DEPRECATED` `true` is supported by `KubeDB` for `MySQL`. You can use any non-deprecated version. Here, we are going to create a standalone using non-deprecated `MySQL` version `8.0.32`. +The version above that does not show `DEPRECATED` `true` is supported by `KubeDB` for `MySQL`. You can use any non-deprecated version. Here, we are going to create a standalone using non-deprecated `MySQL` version `8.0.35`. **Deploy MySQL Standalone:** @@ -75,7 +75,7 @@ metadata: name: my-standalone namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" @@ -104,7 +104,7 @@ $ watch -n 3 kubectl get my -n demo my-standalone Every 3.0s: kubectl get my -n demo my-standalone suaas-appscode: Wed Jul 1 17:48:14 2020 NAME VERSION STATUS AGE -my-standalone 8.0.32 Running 2m58s +my-standalone 8.0.35 Running 2m58s $ watch -n 3 kubectl get sts -n demo my-standalone Every 3.0s: kubectl get sts -n demo my-standalone suaas-appscode: Wed Jul 1 17:48:52 2020 @@ -150,12 +150,13 @@ spec: name: my-standalone verticalScaling: mysql: - requests: - memory: "1200Mi" - cpu: "0.7" - limits: - memory: "1200Mi" - cpu: "0.7" + resources: + requests: + memory: "1200Mi" + cpu: "0.7" + limits: + memory: "1200Mi" + cpu: "0.7" ``` Here, diff --git a/docs/guides/mysql/scaling/vertical-scaling/standalone/yamls/my-scale-standalone.yaml b/docs/guides/mysql/scaling/vertical-scaling/standalone/yamls/my-scale-standalone.yaml index bcebac5deb..583a49c3bb 100644 --- a/docs/guides/mysql/scaling/vertical-scaling/standalone/yamls/my-scale-standalone.yaml +++ b/docs/guides/mysql/scaling/vertical-scaling/standalone/yamls/my-scale-standalone.yaml @@ -4,14 +4,15 @@ metadata: name: my-scale-standalone namespace: demo spec: - type: VerticalScaling + type: VerticalScaling databaseRef: name: my-standalone verticalScaling: mysql: - requests: - memory: "1200Mi" - cpu: "0.7" - limits: - memory: "1200Mi" - cpu: "0.7" \ No newline at end of file + resources: + requests: + memory: "1200Mi" + cpu: "0.7" + limits: + memory: "1200Mi" + cpu: "0.7" \ No newline at end of file diff --git a/docs/guides/mysql/scaling/vertical-scaling/standalone/yamls/standalone.yaml b/docs/guides/mysql/scaling/vertical-scaling/standalone/yamls/standalone.yaml index 8b9f128bfb..56ef5f11e0 100644 --- a/docs/guides/mysql/scaling/vertical-scaling/standalone/yamls/standalone.yaml +++ b/docs/guides/mysql/scaling/vertical-scaling/standalone/yamls/standalone.yaml @@ -4,7 +4,7 @@ metadata: name: my-standalone namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/mysql/schema-manager/deploy-mysqldatabase/index.md b/docs/guides/mysql/schema-manager/deploy-mysqldatabase/index.md index e0eb55427c..153231dcb2 100644 --- a/docs/guides/mysql/schema-manager/deploy-mysqldatabase/index.md +++ b/docs/guides/mysql/schema-manager/deploy-mysqldatabase/index.md @@ -53,7 +53,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" @@ -73,7 +73,7 @@ spec: Here, -- `spec.version` is the name of the MySQLVersion CR. Here, we are using MySQL version `8.0.32`. +- `spec.version` is the name of the MySQLVersion CR. Here, we are using MySQL version `8.0.35`. - `spec.storageType` specifies the type of storage that will be used for MySQL. It can be `Durable` or `Ephemeral`. The default value of this field is `Durable`. If `Ephemeral` is used then KubeDB will create the MySQL using `EmptyDir` volume. - `spec.storage` specifies the StorageClass of PVC dynamically allocated to store data for this database. This storage spec will be passed to the StatefulSet created by KubeDB operator to run database pods. So, each members will have a pod of this storage configuration. You can specify any StorageClass available in your cluster with appropriate resource requests. - `spec.allowedSchemas` specifies the namespace of allowed `Schema Manager`. @@ -238,7 +238,7 @@ bash-4.4# mysql --user='v-kubernetes-k8s.dc833e-txGUfwPa' --password='bCfsp77bWz Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 287 -Server version: 8.0.32 MySQL Community Server - GPL +Server version: 8.0.35 MySQL Community Server - GPL mysql> SHOW DATABASES; @@ -306,7 +306,7 @@ bash-4.4# mysql -uroot -p$MYSQL_ROOT_PASSWORD Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2358 -Server version: 8.0.32 MySQL Community Server - GPL +Server version: 8.0.35 MySQL Community Server - GPL mysql> SHOW DATABASES; +--------------------+ @@ -380,7 +380,7 @@ bash-4.4# mysql -uroot -p$MYSQL_ROOT_PASSWORD Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2358 -Server version: 8.0.32 MySQL Community Server - GPL +Server version: 8.0.35 MySQL Community Server - GPL mysql> SHOW DATABASES; +--------------------+ diff --git a/docs/guides/mysql/schema-manager/deploy-mysqldatabase/yamls/mysql-server.yaml b/docs/guides/mysql/schema-manager/deploy-mysqldatabase/yamls/mysql-server.yaml index c8a184f38e..810c9bec70 100644 --- a/docs/guides/mysql/schema-manager/deploy-mysqldatabase/yamls/mysql-server.yaml +++ b/docs/guides/mysql/schema-manager/deploy-mysqldatabase/yamls/mysql-server.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/mysql/schema-manager/initializing-with-script/index.md b/docs/guides/mysql/schema-manager/initializing-with-script/index.md index 631656d7e3..da0dea2b48 100644 --- a/docs/guides/mysql/schema-manager/initializing-with-script/index.md +++ b/docs/guides/mysql/schema-manager/initializing-with-script/index.md @@ -53,7 +53,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" @@ -73,7 +73,7 @@ spec: Here, -- `spec.version` is the name of the MySQLVersion CR. Here, we are using MySQL version `8.0.32`. +- `spec.version` is the name of the MySQLVersion CR. Here, we are using MySQL version `8.0.35`. - `spec.storageType` specifies the type of storage that will be used for MySQL. It can be `Durable` or `Ephemeral`. The default value of this field is `Durable`. If `Ephemeral` is used then KubeDB will create the MySQL using `EmptyDir` volume. - `spec.storage` specifies the StorageClass of PVC dynamically allocated to store data for this database. This storage spec will be passed to the StatefulSet created by KubeDB operator to run database pods. So, each members will have a pod of this storage configuration. You can specify any StorageClass available in your cluster with appropriate resource requests. - `spec.allowedSchemas` specifies the namespace of allowed `Schema Manager`. @@ -266,7 +266,7 @@ bash-4.4# mysql --user='v-kubernetes-k8s.dc833e-yb9r7uhs' --password='DueiiR-JyG Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 287 -Server version: 8.0.32 MySQL Community Server - GPL +Server version: 8.0.35 MySQL Community Server - GPL mysql> SHOW DATABASES; +--------------------+ diff --git a/docs/guides/mysql/schema-manager/initializing-with-script/yamls/mysql-server.yaml b/docs/guides/mysql/schema-manager/initializing-with-script/yamls/mysql-server.yaml index c8a184f38e..810c9bec70 100644 --- a/docs/guides/mysql/schema-manager/initializing-with-script/yamls/mysql-server.yaml +++ b/docs/guides/mysql/schema-manager/initializing-with-script/yamls/mysql-server.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "8.0.32" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/mysql/tls/configure/index.md b/docs/guides/mysql/tls/configure/index.md index 2a6863b01e..151c4ba713 100644 --- a/docs/guides/mysql/tls/configure/index.md +++ b/docs/guides/mysql/tls/configure/index.md @@ -110,7 +110,7 @@ metadata: name: some-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication @@ -213,7 +213,7 @@ metadata: name: some-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync @@ -268,7 +268,7 @@ metadata: name: some-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" @@ -316,7 +316,7 @@ $ watch -n 3 kubectl get my -n demo some-mysql Every 3.0s: kubectl get my -n demo some-mysql suaas-appscode: Thu Aug 13 19:02:15 2020 NAME VERSION STATUS AGE -some-mysql 8.0.32 Running 9m41s +some-mysql 8.0.35 Running 9m41s $ watch -n 3 kubectl get sts -n demo some-mysql Every 3.0s: kubectl get sts -n demo some-mysql suaas-appscode: Thu Aug 13 19:02:42 2020 diff --git a/docs/guides/mysql/tls/configure/yamls/group-replication.yaml b/docs/guides/mysql/tls/configure/yamls/group-replication.yaml index c5a5eacb0c..764c855824 100644 --- a/docs/guides/mysql/tls/configure/yamls/group-replication.yaml +++ b/docs/guides/mysql/tls/configure/yamls/group-replication.yaml @@ -4,7 +4,7 @@ metadata: name: some-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/tls/configure/yamls/semi-sync.yaml b/docs/guides/mysql/tls/configure/yamls/semi-sync.yaml index 731266f8db..22ccfdefa1 100644 --- a/docs/guides/mysql/tls/configure/yamls/semi-sync.yaml +++ b/docs/guides/mysql/tls/configure/yamls/semi-sync.yaml @@ -4,7 +4,7 @@ metadata: name: some-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync diff --git a/docs/guides/mysql/tls/configure/yamls/standalone.yaml b/docs/guides/mysql/tls/configure/yamls/standalone.yaml index 0636fb8336..e181459de8 100644 --- a/docs/guides/mysql/tls/configure/yamls/standalone.yaml +++ b/docs/guides/mysql/tls/configure/yamls/standalone.yaml @@ -4,7 +4,7 @@ metadata: name: some-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/mysql/update-version/majorversion/group-replication/index.md b/docs/guides/mysql/update-version/majorversion/group-replication/index.md index 9ad74d20a7..f8d6c8443b 100644 --- a/docs/guides/mysql/update-version/majorversion/group-replication/index.md +++ b/docs/guides/mysql/update-version/majorversion/group-replication/index.md @@ -52,11 +52,11 @@ When you have installed `KubeDB`, it has created `MySQLVersion` CR for all suppo $ kubectl get mysqlversion NAME VERSION DISTRIBUTION DB_IMAGE DEPRECATED AGE 5.7.35-v1 5.7.35 Official mysql:5.7.35 13d -5.7.41 5.7.41 Official mysql:5.7.41 13d +5.7.44 5.7.44 Official mysql:5.7.44 13d 8.0.17 8.0.17 Official mysql:8.0.17 13d -8.0.32 8.0.32 Official mysql:8.0.32 13d -8.0.32-innodb 8.0.32 MySQL mysql/mysql-server:8.0.32 13d -8.0.32 8.0.32 Official mysql:8.0.32 13d +8.0.35 8.0.35 Official mysql:8.0.35 13d +8.0.31-innodb 8.0.35 MySQL mysql/mysql-server:8.0.35 13d +8.0.35 8.0.35 Official mysql:8.0.35 13d 8.0.3-v4 8.0.3 Official mysql:8.0.3 13d ``` @@ -65,10 +65,10 @@ The version above that does not show `DEPRECATED` true is supported by `KubeDB` **Check update Constraints:** -Database version update constraints is a constraint that shows whether it is possible or not possible to update from one version to another. Let's check the version update constraints of `MySQL` `5.7.41`, +Database version update constraints is a constraint that shows whether it is possible or not possible to update from one version to another. Let's check the version update constraints of `MySQL` `5.7.44`, ```bash -$ kubectl get mysqlversion 5.7.41 -o yaml | kubectl neat +$ kubectl get mysqlversion 5.7.44 -o yaml | kubectl neat apiVersion: catalog.kubedb.com/v1alpha1 kind: MySQLVersion metadata: @@ -83,14 +83,14 @@ metadata: app.kubernetes.io/name: kubedb-catalog app.kubernetes.io/version: v2022.03.28 helm.sh/chart: kubedb-catalog-v2022.03.28 - name: 5.7.41 + name: 5.7.44 resourceVersion: "1092465" uid: 4cc87fc8-efd7-4e69-bb12-4454a2b1bf06 spec: coordinator: image: kubedb/mysql-coordinator:v0.5.0 db: - image: mysql:5.7.41 + image: mysql:5.7.44 distribution: Official exporter: image: kubedb/mysqld-exporter:v0.13.1 @@ -109,14 +109,14 @@ spec: updateConstraints: denylist: groupReplication: - - < 5.7.41 + - < 5.7.44 standalone: - - < 5.7.41 - version: 5.7.41 + - < 5.7.44 + version: 5.7.44 ``` -The above `spec.updateConstraints.denylist` of `5.7.41` is showing that updating below version of `5.7.41` is not possible for both group replication and standalone. That means, it is possible to update any version above `5.7.41`. Here, we are going to create a `MySQL` Group Replication using MySQL `5.7.41`. Then we are going to update this version to `8.0.32`. +The above `spec.updateConstraints.denylist` of `5.7.44` is showing that updating below version of `5.7.44` is not possible for both group replication and standalone. That means, it is possible to update any version above `5.7.44`. Here, we are going to create a `MySQL` Group Replication using MySQL `5.7.44`. Then we are going to update this version to `8.0.35`. **Deploy MySQL Group Replication:** @@ -129,7 +129,7 @@ metadata: name: my-group namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication @@ -160,7 +160,7 @@ Now, watch `MySQL` is going to `Running` state and also watch `StatefulSet` and $ watch -n 3 kubectl get my -n demo my-group NAME VERSION STATUS AGE -my-group 5.7.41 Running 5m52s +my-group 5.7.44 Running 5m52s $ watch -n 3 kubectl get sts -n demo my-group @@ -179,15 +179,15 @@ Let's verify the `MySQL`, the `StatefulSet` and its `Pod` image version, ```bash $ kubectl get my -n demo my-group -o=jsonpath='{.spec.version}{"\n"}' -5.7.41 +5.7.44 $ kubectl get sts -n demo -l app.kubernetes.io/name=mysqls.kubedb.com,app.kubernetes.io/instance=my-group -o json | jq '.items[].spec.template.spec.containers[1].image' -"kubedb/mysql:5.7.41" +"kubedb/mysql:5.7.44" $ kubectl get pod -n demo -l app.kubernetes.io/name=mysqls.kubedb.com,app.kubernetes.io/instance=my-group -o json | jq '.items[].spec.containers[1].image' -"kubedb/mysql:5.7.41" -"kubedb/mysql:5.7.41" -"kubedb/mysql:5.7.41" +"kubedb/mysql:5.7.44" +"kubedb/mysql:5.7.44" +"kubedb/mysql:5.7.44" ``` Let's also verify that the StatefulSet’s pods have joined into a group replication, @@ -215,7 +215,7 @@ We are ready to apply updating on this `MySQL` group replication. #### UpdateVesion -Here, we are going to update the `MySQL` group replication from `5.7.41` to `8.0.32`. +Here, we are going to update the `MySQL` group replication from `5.7.44` to `8.0.35`. **Create MySQLOpsRequest:** @@ -232,14 +232,14 @@ spec: databaseRef: name: my-group updateVersion: - targetVersion: "8.0.32" + targetVersion: "8.0.35" ``` Here, - `spec.databaseRef.name` specifies that we are performing operation on `my-group` MySQL database. - `spec.type` specifies that we are going to perform `UpdateVersion` on our database. -- `spec.updateVersion.targetVersion` specifies expected version `8.0.32` after updating. +- `spec.updateVersion.targetVersion` specifies expected version `8.0.35` after updating. Let's create the `MySQLOpsRequest` cr we have shown above, @@ -289,7 +289,7 @@ Spec: Name: my-group Type: UpdateVersion UpdateVersion: - Target Version: 8.0.32 + Target Version: 8.0.35 Status: Conditions: Last Transition Time: 2022-06-30T07:55:16Z @@ -338,15 +338,15 @@ Now, we are going to verify whether the `MySQL` and `StatefulSet` and it's `Pod` ```bash $ kubectl get my -n demo my-group -o=jsonpath='{.spec.version}{"\n"}' -8.0.32 +8.0.35 $ kubectl get sts -n demo -l app.kubernetes.io/name=mysqls.kubedb.com,app.kubernetes.io/instance=my-group -o json | jq '.items[].spec.template.spec.containers[1].image' -"kubedb/mysql:8.0.32" +"kubedb/mysql:8.0.35" $ kubectl get pod -n demo -l app.kubernetes.io/name=mysqls.kubedb.com,app.kubernetes.io/instance=my-group -o json | jq '.items[].spec.containers[1].image' -"kubedb/mysql:8.0.32" -"kubedb/mysql:8.0.32" -"kubedb/mysql:8.0.32" +"kubedb/mysql:8.0.35" +"kubedb/mysql:8.0.35" +"kubedb/mysql:8.0.35" ``` Let's also check the StatefulSet pods have joined the `MySQL` group replication, @@ -363,9 +363,9 @@ mysql: [Warning] Using a password on the command line interface can be insecure. +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ | CHANNEL_NAME | MEMBER_ID | MEMBER_HOST | MEMBER_PORT | MEMBER_STATE | MEMBER_ROLE | MEMBER_VERSION | MEMBER_COMMUNICATION_STACK | +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ -| group_replication_applier | b0e71e0c-f849-11ec-a315-46392c50e39c | my-group-1.my-group-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.32 | XCom | -| group_replication_applier | b34b16d7-f849-11ec-9362-a2f432876ee4 | my-group-2.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.32 | XCom | -| group_replication_applier | b5542a4a-f849-11ec-9a75-3e8abd17fee6 | my-group-0.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.32 | XCom | +| group_replication_applier | b0e71e0c-f849-11ec-a315-46392c50e39c | my-group-1.my-group-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.35 | XCom | +| group_replication_applier | b34b16d7-f849-11ec-9362-a2f432876ee4 | my-group-2.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | XCom | +| group_replication_applier | b5542a4a-f849-11ec-9a75-3e8abd17fee6 | my-group-0.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | XCom | +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ ``` diff --git a/docs/guides/mysql/update-version/majorversion/group-replication/yamls/group_replication.yaml b/docs/guides/mysql/update-version/majorversion/group-replication/yamls/group_replication.yaml index 8a76c2b8da..e90a9c9b4e 100644 --- a/docs/guides/mysql/update-version/majorversion/group-replication/yamls/group_replication.yaml +++ b/docs/guides/mysql/update-version/majorversion/group-replication/yamls/group_replication.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/update-version/majorversion/group-replication/yamls/upgrade_major_version_group.yaml b/docs/guides/mysql/update-version/majorversion/group-replication/yamls/upgrade_major_version_group.yaml index 56fbc1ee7e..a9b98708d2 100644 --- a/docs/guides/mysql/update-version/majorversion/group-replication/yamls/upgrade_major_version_group.yaml +++ b/docs/guides/mysql/update-version/majorversion/group-replication/yamls/upgrade_major_version_group.yaml @@ -8,4 +8,4 @@ spec: databaseRef: name: my-group updateVersion: - targetVersion: "8.0.32" \ No newline at end of file + targetVersion: "8.0.35" \ No newline at end of file diff --git a/docs/guides/mysql/update-version/majorversion/standalone/index.md b/docs/guides/mysql/update-version/majorversion/standalone/index.md index a4ea7192f3..25a11689ca 100644 --- a/docs/guides/mysql/update-version/majorversion/standalone/index.md +++ b/docs/guides/mysql/update-version/majorversion/standalone/index.md @@ -52,11 +52,11 @@ When you have installed `KubeDB`, it has created `MySQLVersion` CR for all suppo $ kubectl get mysqlversion NAME VERSION DISTRIBUTION DB_IMAGE DEPRECATED AGE 5.7.35-v1 5.7.35 Official mysql:5.7.35 13d -5.7.41 5.7.41 Official mysql:5.7.41 13d +5.7.44 5.7.44 Official mysql:5.7.44 13d 8.0.17 8.0.17 Official mysql:8.0.17 13d -8.0.32 8.0.32 Official mysql:8.0.32 13d -8.0.32-innodb 8.0.32 MySQL mysql/mysql-server:8.0.32 13d -8.0.32 8.0.32 Official mysql:8.0.32 13d +8.0.35 8.0.35 Official mysql:8.0.35 13d +8.0.31-innodb 8.0.35 MySQL mysql/mysql-server:8.0.35 13d +8.0.35 8.0.35 Official mysql:8.0.35 13d 8.0.3-v4 8.0.3 Official mysql:8.0.3 13d ``` @@ -64,10 +64,10 @@ The version above that does not show `DEPRECATED` `true` is supported by `KubeDB **Check update Constraints:** -Database version update constraints is a constraint that shows whether it is possible or not possible to update from one version to another. Let's check the version update constraints of `MySQL` `5.7.41`, +Database version update constraints is a constraint that shows whether it is possible or not possible to update from one version to another. Let's check the version update constraints of `MySQL` `5.7.44`, ```bash -$ kubectl get mysqlversion 5.7.41 -o yaml | kubectl neat +$ kubectl get mysqlversion 5.7.44 -o yaml | kubectl neat apiVersion: catalog.kubedb.com/v1alpha1 kind: MySQLVersion metadata: @@ -82,14 +82,14 @@ metadata: app.kubernetes.io/name: kubedb-catalog app.kubernetes.io/version: v2022.03.28 helm.sh/chart: kubedb-catalog-v2022.03.28 - name: 5.7.41 + name: 5.7.44 resourceVersion: "1092465" uid: 4cc87fc8-efd7-4e69-bb12-4454a2b1bf06 spec: coordinator: image: kubedb/mysql-coordinator:v0.5.0 db: - image: mysql:5.7.41 + image: mysql:5.7.44 distribution: Official exporter: image: kubedb/mysqld-exporter:v0.13.1 @@ -108,14 +108,14 @@ spec: updateConstraints: denylist: groupReplication: - - < 5.7.41 + - < 5.7.44 standalone: - - < 5.7.41 - version: 5.7.41 + - < 5.7.44 + version: 5.7.44 ``` -The above `spec.updateConstraints.denylist` is showing that updating below version of `5.7.41` is not possible for both standalone and group replication. That means, it is possible to update any version above `5.7.41`. Here, we are going to create a `MySQL` standalone using MySQL `5.7.41`. Then we are going to update this version to `8.0.32`. +The above `spec.updateConstraints.denylist` is showing that updating below version of `5.7.44` is not possible for both standalone and group replication. That means, it is possible to update any version above `5.7.44`. Here, we are going to create a `MySQL` standalone using MySQL `5.7.44`. Then we are going to update this version to `8.0.35`. **Deploy MySQL standalone:** @@ -128,7 +128,7 @@ metadata: name: my-standalone namespace: demo spec: - version: "5.7.41" + version: "5.7.44" storageType: Durable storage: storageClassName: "standard" @@ -156,7 +156,7 @@ Now, watch `MySQL` is going to `Running` state and also watch `StatefulSet` and $ watch -n 3 kubectl get my -n demo my-standalone NAME VERSION STATUS AGE -my-standalone 5.7.41 Running 3m +my-standalone 5.7.44 Running 3m $ watch -n 3 kubectl get sts -n demo my-standalone @@ -173,20 +173,20 @@ Let's verify the `MySQL`, the `StatefulSet` and its `Pod` image version, ```bash $ kubectl get my -n demo my-standalone -o=jsonpath='{.spec.version}{"\n"}' -5.7.41 +5.7.44 $ kubectl get sts -n demo my-standalone -o=jsonpath='{.spec.template.spec.containers[0].image}{"\n"}' -kubedb/my:5.7.41 +kubedb/my:5.7.44 $ kubectl get pod -n demo my-standalone-0 -o=jsonpath='{.spec.containers[0].image}{"\n"}' -kubedb/my:5.7.41 +kubedb/my:5.7.44 ``` We are ready to apply updating on this `MySQL` standalone. #### UpdateVersion -Here, we are going to update `MySQL` standalone from `5.7.41` to `8.0.32`. +Here, we are going to update `MySQL` standalone from `5.7.44` to `8.0.35`. **Create MySQLOpsRequest:** @@ -203,14 +203,14 @@ spec: name: my-standalone type: UpdateVersion updateVersion: - targetVersion: "8.0.32" + targetVersion: "8.0.35" ``` Here, - `spec.databaseRef.name` specifies that we are performing operation on `my-group` MySQL database. - `spec.type` specifies that we are going to perform `UpdateVersion` on our database. -- `spec.updateVersion.targetVersion` specifies expected version `8.0.32` after updating. +- `spec.updateVersion.targetVersion` specifies expected version `8.0.35` after updating. Let's create the `MySQLOpsRequest` cr we have shown above, @@ -254,7 +254,7 @@ Spec: Name: my-standalone Type: UpdateVersion UpdateVersion: - TargetVersion: 8.0.32 + TargetVersion: 8.0.35 Status: Conditions: Last Transition Time: 2022-06-30T07:55:16Z @@ -300,13 +300,13 @@ Now, we are going to verify whether the `MySQL`, `StatefulSet` and it's `Pod` ha ```bash $ kubectl get my -n demo my-standalone -o=jsonpath='{.spec.version}{"\n"}' -8.0.32 +8.0.35 $ kubectl get sts -n demo my-standalone -o=jsonpath='{.spec.template.spec.containers[0].image}{"\n"}' -mysql:8.0.32 +mysql:8.0.35 $ kubectl get pod -n demo my-standalone-0 -o=jsonpath='{.spec.containers[0].image}{"\n"}' -mysql:8.0.32 +mysql:8.0.35 ``` You can see above that our `MySQL`standalone has been updated with the new version. It verifies that we have successfully updated our standalone. diff --git a/docs/guides/mysql/update-version/majorversion/standalone/yamls/standalone.yaml b/docs/guides/mysql/update-version/majorversion/standalone/yamls/standalone.yaml index d6a03c25eb..b06ee2cd5b 100644 --- a/docs/guides/mysql/update-version/majorversion/standalone/yamls/standalone.yaml +++ b/docs/guides/mysql/update-version/majorversion/standalone/yamls/standalone.yaml @@ -4,7 +4,7 @@ metadata: name: my-standalone namespace: demo spec: - version: "5.7.41" + version: "5.7.44" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/mysql/update-version/majorversion/standalone/yamls/upgrade_major_version_standalone.yaml b/docs/guides/mysql/update-version/majorversion/standalone/yamls/upgrade_major_version_standalone.yaml index 4a4f12e921..8e1477480f 100644 --- a/docs/guides/mysql/update-version/majorversion/standalone/yamls/upgrade_major_version_standalone.yaml +++ b/docs/guides/mysql/update-version/majorversion/standalone/yamls/upgrade_major_version_standalone.yaml @@ -8,4 +8,4 @@ spec: name: my-standalone type: UpdateVersion updateVersion: - targetVersion: "8.0.32" \ No newline at end of file + targetVersion: "8.0.35" \ No newline at end of file diff --git a/docs/guides/mysql/update-version/minorversion/group-replication/index.md b/docs/guides/mysql/update-version/minorversion/group-replication/index.md index c5a2262e0d..41d1c7ec0f 100644 --- a/docs/guides/mysql/update-version/minorversion/group-replication/index.md +++ b/docs/guides/mysql/update-version/minorversion/group-replication/index.md @@ -52,11 +52,11 @@ When you have installed `KubeDB`, it has created `MySQLVersion` CR for all suppo $ kubectl get mysqlversion NAME VERSION DISTRIBUTION DB_IMAGE DEPRECATED AGE 5.7.35-v1 5.7.35 Official mysql:5.7.35 13d -5.7.41 5.7.41 Official mysql:5.7.41 13d +5.7.44 5.7.44 Official mysql:5.7.44 13d 8.0.17 8.0.17 Official mysql:8.0.17 13d -8.0.32 8.0.32 Official mysql:8.0.32 13d -8.0.32-innodb 8.0.32 MySQL mysql/mysql-server:8.0.32 13d -8.0.32 8.0.32 Official mysql:8.0.32 13d +8.0.35 8.0.35 Official mysql:8.0.35 13d +8.0.31-innodb 8.0.35 MySQL mysql/mysql-server:8.0.35 13d +8.0.35 8.0.35 Official mysql:8.0.35 13d 8.0.3-v4 8.0.3 Official mysql:8.0.3 13d ``` @@ -65,10 +65,10 @@ The version above that does not show `DEPRECATED` true is supported by `KubeDB` **Check update Constraints:** -Database version update constraints is a constraint that shows whether it is possible or not possible to update from one version to another. Let's check the version update constraints of `MySQL` `8.0.32`, +Database version update constraints is a constraint that shows whether it is possible or not possible to update from one version to another. Let's check the version update constraints of `MySQL` `8.0.35`, ```bash -$ kubectl get mysqlversion 8.0.32 -o yaml +$ kubectl get mysqlversion 8.0.35 -o yaml apiVersion: catalog.kubedb.com/v1alpha1 kind: MySQLVersion metadata: @@ -83,14 +83,14 @@ metadata: app.kubernetes.io/name: kubedb-catalog app.kubernetes.io/version: v2022.03.28 helm.sh/chart: kubedb-catalog-v2022.03.28 - name: 8.0.32 + name: 8.0.35 resourceVersion: "1092466" uid: fa68b792-a8b3-47a3-a32e-66a47f79c177 spec: coordinator: image: kubedb/mysql-coordinator:v0.5.0 db: - image: mysql:8.0.32 + image: mysql:8.0.35 distribution: Official exporter: image: kubedb/mysqld-exporter:v0.13.1 @@ -109,14 +109,14 @@ spec: updateConstraints: denylist: groupReplication: - - < 8.0.32 + - < 8.0.35 standalone: - - < 8.0.32 - version: 8.0.32 + - < 8.0.35 + version: 8.0.35 ``` -The above `spec.updateConstraints.denylist` of `8.0.32` is showing that updating below version of `8.0.32` is not possible for both group replication and standalone. That means, it is possible to update any version above `8.0.32`. Here, we are going to create a `MySQL` Group Replication using MySQL `8.0.32`. Then we are going to update this version to `8.0.32`. +The above `spec.updateConstraints.denylist` of `8.0.35` is showing that updating below version of `8.0.35` is not possible for both group replication and standalone. That means, it is possible to update any version above `8.0.35`. Here, we are going to create a `MySQL` Group Replication using MySQL `8.0.35`. Then we are going to update this version to `8.0.35`. **Deploy MySQL Group Replication:** @@ -129,7 +129,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication @@ -163,7 +163,7 @@ $ watch -n 3 kubectl get my -n demo my-group NAME VERSION STATUS AGE -my-group 8.0.32 Ready 5m +my-group 8.0.35 Ready 5m $ watch -n 3 kubectl get sts -n demo my-group @@ -182,15 +182,15 @@ Let's verify the `MySQL`, the `StatefulSet` and its `Pod` image version, ```bash $ kubectl get my -n demo my-group -o=jsonpath='{.spec.version}{"\n"}' -8.0.32 +8.0.35 $ kubectl get sts -n demo -l app.kubernetes.io/name=mysqls.kubedb.com,app.kubernetes.io/instance=my-group -o json | jq '.items[].spec.template.spec.containers[1].image' -"mysql:8.0.32" +"mysql:8.0.35" $ kubectl get pod -n demo -l app.kubernetes.io/name=mysqls.kubedb.com,app.kubernetes.io/instance=my-group -o json | jq '.items[].spec.containers[1].image' -"mysql:8.0.32" -"mysql:8.0.32" -"mysql:8.0.32" +"mysql:8.0.35" +"mysql:8.0.35" +"mysql:8.0.35" ``` Let's also verify that the StatefulSet’s pods have joined into the group replication, @@ -207,9 +207,9 @@ mysql: [Warning] Using a password on the command line interface can be insecure. +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ | CHANNEL_NAME | MEMBER_ID | MEMBER_HOST | MEMBER_PORT | MEMBER_STATE | MEMBER_ROLE | MEMBER_VERSION | MEMBER_COMMUNICATION_STACK | +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ -| group_replication_applier | 6e7f3cc4-f84d-11ec-adcd-d23a2a3ef58a | my-group-1.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.32 | XCom | -| group_replication_applier | 70c60c5b-f84d-11ec-821b-4af781e22a9f | my-group-2.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.32 | XCom | -| group_replication_applier | 71fdc498-f84d-11ec-a6f3-b2ee89425e4f | my-group-0.my-group-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.32 | XCom | +| group_replication_applier | 6e7f3cc4-f84d-11ec-adcd-d23a2a3ef58a | my-group-1.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | XCom | +| group_replication_applier | 70c60c5b-f84d-11ec-821b-4af781e22a9f | my-group-2.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | XCom | +| group_replication_applier | 71fdc498-f84d-11ec-a6f3-b2ee89425e4f | my-group-0.my-group-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.35 | XCom | +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ ``` @@ -218,7 +218,7 @@ We are ready to apply updating on this `MySQL` group replication. #### UpdateVersion -Here, we are going to update the `MySQL` group replication from `8.0.32` to `8.0.32`. +Here, we are going to update the `MySQL` group replication from `8.0.35` to `8.0.35`. **Create MySQLOpsRequest:** @@ -235,14 +235,14 @@ spec: databaseRef: name: my-group updateVersion: - targetVersion: "8.0.32" + targetVersion: "8.0.35" ``` Here, - `spec.databaseRef.name` specifies that we are performing operation on `my-group` MySQL database. - `spec.type` specifies that we are going to perform `UpdateVersion` on our database. -- `spec.updateVersion.targetVersion` specifies expected version `8.0.32` after updating. +- `spec.updateVersion.targetVersion` specifies expected version `8.0.35` after updating. Let's create the `MySQLOpsRequest` cr we have shown above, @@ -286,7 +286,7 @@ Spec: Name: my-group Type: UpdateVersion UpdateVersion: - TargetVersion: 8.0.32 + TargetVersion: 8.0.35 Status: Conditions: Last Transition Time: 2022-06-30T08:26:36Z @@ -337,15 +337,15 @@ Now, we are going to verify whether the `MySQL` and `StatefulSet` and it's `Pod` ```bash $ kubectl get my -n demo my-group -o=jsonpath='{.spec.version}{"\n"}' -5.7.41 +5.7.44 $ kubectl get sts -n demo -l app.kubernetes.io/name=mysqls.kubedb.com,app.kubernetes.io/instance=my-group -o json | jq '.items[].spec.template.spec.containers[1].image' -"mysql:8.0.32" +"mysql:8.0.35" $ kubectl get pod -n demo -l app.kubernetes.io/name=mysqls.kubedb.com,app.kubernetes.io/instance=my-group -o json | jq '.items[].spec.containers[1].image' -"mysql:8.0.32" -"mysql:8.0.32" -"mysql:8.0.32" +"mysql:8.0.35" +"mysql:8.0.35" +"mysql:8.0.35" ``` Let's also check the StatefulSet pods have joined the `MySQL` group replication, @@ -362,9 +362,9 @@ mysql: [Warning] Using a password on the command line interface can be insecure. +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ | CHANNEL_NAME | MEMBER_ID | MEMBER_HOST | MEMBER_PORT | MEMBER_STATE | MEMBER_ROLE | MEMBER_VERSION | MEMBER_COMMUNICATION_STACK | +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ -| group_replication_applier | 6e7f3cc4-f84d-11ec-adcd-d23a2a3ef58a | my-group-1.my-group-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.32 | XCom | -| group_replication_applier | 70c60c5b-f84d-11ec-821b-4af781e22a9f | my-group-2.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.32 | XCom | -| group_replication_applier | 71fdc498-f84d-11ec-a6f3-b2ee89425e4f | my-group-0.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.32 | XCom | +| group_replication_applier | 6e7f3cc4-f84d-11ec-adcd-d23a2a3ef58a | my-group-1.my-group-pods.demo.svc | 3306 | ONLINE | PRIMARY | 8.0.35 | XCom | +| group_replication_applier | 70c60c5b-f84d-11ec-821b-4af781e22a9f | my-group-2.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | XCom | +| group_replication_applier | 71fdc498-f84d-11ec-a6f3-b2ee89425e4f | my-group-0.my-group-pods.demo.svc | 3306 | ONLINE | SECONDARY | 8.0.35 | XCom | +---------------------------+--------------------------------------+-----------------------------------+-------------+--------------+-------------+----------------+----------------------------+ ``` diff --git a/docs/guides/mysql/update-version/minorversion/group-replication/yamls/group_replication.yaml b/docs/guides/mysql/update-version/minorversion/group-replication/yamls/group_replication.yaml index ae2d91571b..a18eb3cfef 100644 --- a/docs/guides/mysql/update-version/minorversion/group-replication/yamls/group_replication.yaml +++ b/docs/guides/mysql/update-version/minorversion/group-replication/yamls/group_replication.yaml @@ -4,7 +4,7 @@ metadata: name: my-group namespace: demo spec: - version: "8.0.32" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/update-version/minorversion/group-replication/yamls/upgrade_minor_version_group.yaml b/docs/guides/mysql/update-version/minorversion/group-replication/yamls/upgrade_minor_version_group.yaml index da8a42f960..f2daf51f89 100644 --- a/docs/guides/mysql/update-version/minorversion/group-replication/yamls/upgrade_minor_version_group.yaml +++ b/docs/guides/mysql/update-version/minorversion/group-replication/yamls/upgrade_minor_version_group.yaml @@ -8,4 +8,4 @@ spec: databaseRef: name: my-group updateVersion: - targetVersion: "8.0.32" \ No newline at end of file + targetVersion: "8.0.35" \ No newline at end of file diff --git a/docs/guides/mysql/update-version/minorversion/standalone/index.md b/docs/guides/mysql/update-version/minorversion/standalone/index.md index 32b5937e75..5c4293a284 100644 --- a/docs/guides/mysql/update-version/minorversion/standalone/index.md +++ b/docs/guides/mysql/update-version/minorversion/standalone/index.md @@ -52,11 +52,11 @@ When you have installed `KubeDB`, it has created `MySQLVersion` CR for all suppo $ kubectl get mysqlversion NAME VERSION DISTRIBUTION DB_IMAGE DEPRECATED AGE 5.7.35-v1 5.7.35 Official mysql:5.7.35 13d -5.7.41 5.7.41 Official mysql:5.7.41 13d +5.7.44 5.7.44 Official mysql:5.7.44 13d 8.0.17 8.0.17 Official mysql:8.0.17 13d -8.0.32 8.0.32 Official mysql:8.0.32 13d -8.0.32-innodb 8.0.32 MySQL mysql/mysql-server:8.0.32 13d -8.0.32 8.0.32 Official mysql:8.0.32 13d +8.0.35 8.0.35 Official mysql:8.0.35 13d +8.0.31-innodb 8.0.35 MySQL mysql/mysql-server:8.0.35 13d +8.0.35 8.0.35 Official mysql:8.0.35 13d 8.0.3-v4 8.0.3 Official mysql:8.0.3 13d ``` @@ -65,10 +65,10 @@ The version above that does not show `DEPRECATED` `true` is supported by `KubeDB **Check update Constraints:** -Database version update constraints is a constraint that shows whether it is possible or not possible to update from one version to another. Let's check the version update constraints of `MySQL` `5.7.41`, +Database version update constraints is a constraint that shows whether it is possible or not possible to update from one version to another. Let's check the version update constraints of `MySQL` `5.7.44`, ```bash -$ kubectl get mysqlversion 5.7.41 -o yaml +$ kubectl get mysqlversion 5.7.44 -o yaml apiVersion: catalog.kubedb.com/v1alpha1 kind: MySQLVersion metadata: @@ -83,14 +83,14 @@ metadata: app.kubernetes.io/name: kubedb-catalog app.kubernetes.io/version: v2022.03.28 helm.sh/chart: kubedb-catalog-v2022.03.28 - name: 5.7.41 + name: 5.7.44 resourceVersion: "1092465" uid: 4cc87fc8-efd7-4e69-bb12-4454a2b1bf06 spec: coordinator: image: kubedb/mysql-coordinator:v0.5.0 db: - image: mysql:5.7.41 + image: mysql:5.7.44 distribution: Official exporter: image: kubedb/mysqld-exporter:v0.13.1 @@ -109,14 +109,14 @@ spec: updateConstraints: denylist: groupReplication: - - < 5.7.41 + - < 5.7.44 standalone: - - < 5.7.41 - version: 5.7.41 + - < 5.7.44 + version: 5.7.44 ``` -The above `spec.updateConstraints.denylist` is showing that updating below version of `5.7.41` is not possible for both standalone and group replication. That means, it is possible to update any version above `5.7.41`. Here, we are going to create a `MySQL` standalone using MySQL `5.7.41`. Then we are going to update this version to `5.7.41`. +The above `spec.updateConstraints.denylist` is showing that updating below version of `5.7.44` is not possible for both standalone and group replication. That means, it is possible to update any version above `5.7.44`. Here, we are going to create a `MySQL` standalone using MySQL `5.7.44`. Then we are going to update this version to `5.7.44`. **Deploy MySQL standalone:** @@ -129,7 +129,7 @@ metadata: name: my-standalone namespace: demo spec: - version: "5.7.41" + version: "5.7.44" storageType: Durable storage: storageClassName: "standard" @@ -157,7 +157,7 @@ Now, watch `MySQL` is going to `Running` state and also watch `StatefulSet` and $ watch -n 3 kubectl get my -n demo my-standalone NAME VERSION STATUS AGE -my-standalone 5.7.41 Running 3m +my-standalone 5.7.44 Running 3m $ watch -n 3 kubectl get sts -n demo my-standalone @@ -174,20 +174,20 @@ Let's verify the `MySQL`, the `StatefulSet` and its `Pod` image version, ```bash $ kubectl get my -n demo my-standalone -o=jsonpath='{.spec.version}{"\n"}' -5.7.41 +5.7.44 $ kubectl get sts -n demo my-standalone -o=jsonpath='{.spec.template.spec.containers[0].image}{"\n"}' -mysql:5.7.41 +mysql:5.7.44 $ kubectl get pod -n demo my-standalone-0 -o=jsonpath='{.spec.containers[0].image}{"\n"}' -mysql:5.7.41 +mysql:5.7.44 ``` We are ready to apply updating on this `MySQL` standalone. #### UpdateVersion -Here, we are going to update `MySQL` standalone from `5.7.41` to `5.7.41`. +Here, we are going to update `MySQL` standalone from `5.7.44` to `5.7.44`. **Create MySQLOpsRequest:** @@ -204,14 +204,14 @@ spec: name: my-standalone type: UpdateVersion updateVersion: - targetVersion: "5.7.41" + targetVersion: "5.7.44" ``` Here, - `spec.databaseRef.name` specifies that we are performing operation on `my-group` MySQL database. - `spec.type` specifies that we are going to perform `UpdateVersion` on our database. -- `spec.updateVersion.targetVersion` specifies expected version `5.7.41` after updating. +- `spec.updateVersion.targetVersion` specifies expected version `5.7.44` after updating. Let's create the `MySQLOpsRequest` cr we have shown above, @@ -254,7 +254,7 @@ Spec: Name: my-standalone Type: UpdateVersion UpdateVersion: - TargetVersion: 5.7.41 + TargetVersion: 5.7.44 Status: Conditions: Last Transition Time: 2022-06-30T09:05:14Z @@ -301,13 +301,13 @@ Now, we are going to verify whether the `MySQL`, `StatefulSet` and it's `Pod` ha ```bash $ kubectl get my -n demo my-standalone -o=jsonpath='{.spec.version}{"\n"}' -5.7.41 +5.7.44 $ kubectl get sts -n demo my-standalone -o=jsonpath='{.spec.template.spec.containers[0].image}{"\n"}' -kubedb/my:5.7.41 +kubedb/my:5.7.44 $ kubectl get pod -n demo my-standalone-0 -o=jsonpath='{.spec.containers[0].image}{"\n"}' -kubedb/my:5.7.41 +kubedb/my:5.7.44 ``` You can see above that our `MySQL`standalone has been updated with the new version. It verifies that we have successfully updated our standalone. diff --git a/docs/guides/mysql/update-version/minorversion/standalone/yamls/standalone.yaml b/docs/guides/mysql/update-version/minorversion/standalone/yamls/standalone.yaml index d6a03c25eb..b06ee2cd5b 100644 --- a/docs/guides/mysql/update-version/minorversion/standalone/yamls/standalone.yaml +++ b/docs/guides/mysql/update-version/minorversion/standalone/yamls/standalone.yaml @@ -4,7 +4,7 @@ metadata: name: my-standalone namespace: demo spec: - version: "5.7.41" + version: "5.7.44" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/mysql/update-version/minorversion/standalone/yamls/upgrade_minor_version_standalone.yaml b/docs/guides/mysql/update-version/minorversion/standalone/yamls/upgrade_minor_version_standalone.yaml index c3d89b3cbf..a37ead33ae 100644 --- a/docs/guides/mysql/update-version/minorversion/standalone/yamls/upgrade_minor_version_standalone.yaml +++ b/docs/guides/mysql/update-version/minorversion/standalone/yamls/upgrade_minor_version_standalone.yaml @@ -8,4 +8,4 @@ spec: name: my-standalone type: UpdateVersion updateVersion: - targetVersion: "5.7.41" \ No newline at end of file + targetVersion: "5.7.44" \ No newline at end of file diff --git a/docs/guides/mysql/volume-expansion/volume-expansion/expamples/group_replication.yaml b/docs/guides/mysql/volume-expansion/volume-expansion/expamples/group_replication.yaml index 372abc324e..687bb3e9e3 100644 --- a/docs/guides/mysql/volume-expansion/volume-expansion/expamples/group_replication.yaml +++ b/docs/guides/mysql/volume-expansion/volume-expansion/expamples/group_replication.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/mysql/volume-expansion/volume-expansion/expamples/semi-sync.yaml b/docs/guides/mysql/volume-expansion/volume-expansion/expamples/semi-sync.yaml index 6274e786b4..17aa78f487 100644 --- a/docs/guides/mysql/volume-expansion/volume-expansion/expamples/semi-sync.yaml +++ b/docs/guides/mysql/volume-expansion/volume-expansion/expamples/semi-sync.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync diff --git a/docs/guides/mysql/volume-expansion/volume-expansion/expamples/standalone.yaml b/docs/guides/mysql/volume-expansion/volume-expansion/expamples/standalone.yaml index b3168cde0d..6a3dbbcb67 100644 --- a/docs/guides/mysql/volume-expansion/volume-expansion/expamples/standalone.yaml +++ b/docs/guides/mysql/volume-expansion/volume-expansion/expamples/standalone.yaml @@ -4,7 +4,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" storageType: Durable storage: storageClassName: "topolvm-provisioner" diff --git a/docs/guides/mysql/volume-expansion/volume-expansion/index.md b/docs/guides/mysql/volume-expansion/volume-expansion/index.md index 7d3d61245f..8a4181a6fa 100644 --- a/docs/guides/mysql/volume-expansion/volume-expansion/index.md +++ b/docs/guides/mysql/volume-expansion/volume-expansion/index.md @@ -54,7 +54,7 @@ topolvm-provisioner topolvm.cybozu.com Delete WaitForFirstConsum We can see from the output the `topolvm-provisioner` storage class has `ALLOWVOLUMEEXPANSION` field as true. So, this storage class supports volume expansion. We will use this storage class. You can install topolvm from [here](https://github.com/topolvm/topolvm). -Now, we are going to deploy a `MySQL` database of 3 replicas with version `8.0.31`. +Now, we are going to deploy a `MySQL` database of 3 replicas with version `8.0.35`. ### Deploy MySQL @@ -89,7 +89,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: GroupReplication @@ -157,7 +157,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" replicas: 3 topology: mode: SemiSync @@ -194,7 +194,7 @@ metadata: name: sample-mysql namespace: demo spec: - version: "8.0.31" + version: "8.0.35" storageType: Durable storage: storageClassName: "topolvm-provisioner" @@ -221,7 +221,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.31 Ready 5m4s +sample-mysql 8.0.35 Ready 5m4s ``` Let's check volume size from statefulset, and from the persistent volume, diff --git a/docs/guides/percona-xtradb/concepts/opsrequest/index.md b/docs/guides/percona-xtradb/concepts/opsrequest/index.md index 4fbf1a55c1..a673968fa6 100644 --- a/docs/guides/percona-xtradb/concepts/opsrequest/index.md +++ b/docs/guides/percona-xtradb/concepts/opsrequest/index.md @@ -90,12 +90,13 @@ spec: name: sample-pxc verticalScaling: perconaxtradb: - requests: - memory: "600Mi" - cpu: "0.1" - limits: - memory: "600Mi" - cpu: "0.1" + resources: + requests: + memory: "600Mi" + cpu: "0.1" + limits: + memory: "600Mi" + cpu: "0.1" status: conditions: - lastTransitionTime: "2020-08-25T18:22:38Z" diff --git a/docs/guides/percona-xtradb/monitoring/overview/index.md b/docs/guides/percona-xtradb/monitoring/overview/index.md index 02b2a28e94..ae65a53187 100644 --- a/docs/guides/percona-xtradb/monitoring/overview/index.md +++ b/docs/guides/percona-xtradb/monitoring/overview/index.md @@ -53,7 +53,7 @@ metadata: name: sample-redis namespace: databases spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut configSecret: # configure Redis to use password for authentication name: redis-config diff --git a/docs/guides/percona-xtradb/reconfigure/cluster/index.md b/docs/guides/percona-xtradb/reconfigure/cluster/index.md index b6dd3612ba..593a4c0231 100644 --- a/docs/guides/percona-xtradb/reconfigure/cluster/index.md +++ b/docs/guides/percona-xtradb/reconfigure/cluster/index.md @@ -39,7 +39,7 @@ Now, we are going to deploy a `PerconaXtraDB` Cluster using a supported version ### Prepare PerconaXtraDB Cluster -Now, we are going to deploy a `PerconaXtraDB` Cluster database with version `10.6.4`. +Now, we are going to deploy a `PerconaXtraDB` Cluster database with version `10.6.16`. ### Deploy PerconaXtraDB diff --git a/docs/guides/percona-xtradb/scaling/vertical-scaling/cluster/example/pxops-vscale.yaml b/docs/guides/percona-xtradb/scaling/vertical-scaling/cluster/example/pxops-vscale.yaml index d34f172f35..8d85ea3e5e 100644 --- a/docs/guides/percona-xtradb/scaling/vertical-scaling/cluster/example/pxops-vscale.yaml +++ b/docs/guides/percona-xtradb/scaling/vertical-scaling/cluster/example/pxops-vscale.yaml @@ -9,9 +9,10 @@ spec: name: sample-pxc verticalScaling: perconaxtradb: - requests: - memory: "1.2Gi" - cpu: "0.6" - limits: - memory: "1.2Gi" - cpu: "0.6" + resources: + requests: + memory: "1.2Gi" + cpu: "0.6" + limits: + memory: "1.2Gi" + cpu: "0.6" diff --git a/docs/guides/percona-xtradb/scaling/vertical-scaling/cluster/index.md b/docs/guides/percona-xtradb/scaling/vertical-scaling/cluster/index.md index 145dc98eb8..8886e5bcba 100644 --- a/docs/guides/percona-xtradb/scaling/vertical-scaling/cluster/index.md +++ b/docs/guides/percona-xtradb/scaling/vertical-scaling/cluster/index.md @@ -123,12 +123,13 @@ spec: name: sample-pxc verticalScaling: perconaxtradb: - requests: - memory: "1.2Gi" - cpu: "0.6" - limits: - memory: "1.2Gi" - cpu: "0.6" + resources: + requests: + memory: "1.2Gi" + cpu: "0.6" + limits: + memory: "1.2Gi" + cpu: "0.6" ``` Here, diff --git a/docs/guides/pgbouncer/monitoring/overview.md b/docs/guides/pgbouncer/monitoring/overview.md index e7b44c37ed..48cee055eb 100644 --- a/docs/guides/pgbouncer/monitoring/overview.md +++ b/docs/guides/pgbouncer/monitoring/overview.md @@ -53,7 +53,7 @@ metadata: name: sample-redis namespace: databases spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut configSecret: # configure Redis to use password for authentication name: redis-config diff --git a/docs/guides/postgres/backup/auto-backup/examples/sample-pg-1.yaml b/docs/guides/postgres/backup/auto-backup/examples/sample-pg-1.yaml index aca08d5422..b9554b62c1 100644 --- a/docs/guides/postgres/backup/auto-backup/examples/sample-pg-1.yaml +++ b/docs/guides/postgres/backup/auto-backup/examples/sample-pg-1.yaml @@ -6,7 +6,7 @@ metadata: annotations: stash.appscode.com/backup-blueprint: postgres-backup-template spec: - version: "11.11" + version: "11.22" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/postgres/backup/auto-backup/examples/sample-pg-2.yaml b/docs/guides/postgres/backup/auto-backup/examples/sample-pg-2.yaml index 53a4257ec3..70613a0d62 100644 --- a/docs/guides/postgres/backup/auto-backup/examples/sample-pg-2.yaml +++ b/docs/guides/postgres/backup/auto-backup/examples/sample-pg-2.yaml @@ -7,7 +7,7 @@ metadata: stash.appscode.com/backup-blueprint: postgres-backup-template stash.appscode.com/schedule: "*/3 * * * *" spec: - version: "11.11" + version: "11.22" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/postgres/backup/auto-backup/examples/sample-pg-3.yaml b/docs/guides/postgres/backup/auto-backup/examples/sample-pg-3.yaml index 98ff388e9e..a5c7eccda2 100644 --- a/docs/guides/postgres/backup/auto-backup/examples/sample-pg-3.yaml +++ b/docs/guides/postgres/backup/auto-backup/examples/sample-pg-3.yaml @@ -7,7 +7,7 @@ metadata: stash.appscode.com/backup-blueprint: postgres-backup-template params.stash.appscode.com/args: --no-owner --clean spec: - version: "11.11" + version: "11.22" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/postgres/backup/auto-backup/index.md b/docs/guides/postgres/backup/auto-backup/index.md index 2d93b01472..dffde3c909 100644 --- a/docs/guides/postgres/backup/auto-backup/index.md +++ b/docs/guides/postgres/backup/auto-backup/index.md @@ -137,7 +137,7 @@ metadata: annotations: stash.appscode.com/backup-blueprint: postgres-backup-template spec: - version: "11.11" + version: "11.22" storageType: Durable storage: storageClassName: "standard" @@ -306,7 +306,7 @@ metadata: stash.appscode.com/backup-blueprint: postgres-backup-template stash.appscode.com/schedule: "*/3 * * * *" spec: - version: "11.11" + version: "11.22" storageType: Durable storage: storageClassName: "standard" @@ -476,7 +476,7 @@ metadata: stash.appscode.com/backup-blueprint: postgres-backup-template params.stash.appscode.com/args: --no-owner --clean spec: - version: "11.11" + version: "11.22" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/postgres/backup/customization/examples/sample-postgres.yaml b/docs/guides/postgres/backup/customization/examples/sample-postgres.yaml index 4020ae6177..be410f1527 100644 --- a/docs/guides/postgres/backup/customization/examples/sample-postgres.yaml +++ b/docs/guides/postgres/backup/customization/examples/sample-postgres.yaml @@ -4,7 +4,7 @@ metadata: name: sample-postgres namespace: demo spec: - version: "14.1" + version: "14.10" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/postgres/backup/standalone/examples/postgres.yaml b/docs/guides/postgres/backup/standalone/examples/postgres.yaml index 674fb778d3..e53e59514c 100644 --- a/docs/guides/postgres/backup/standalone/examples/postgres.yaml +++ b/docs/guides/postgres/backup/standalone/examples/postgres.yaml @@ -4,7 +4,7 @@ metadata: name: sample-postgres namespace: demo spec: - version: "11.11" + version: "11.22" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/postgres/backup/standalone/examples/restored-postgres.yaml b/docs/guides/postgres/backup/standalone/examples/restored-postgres.yaml index d47082f7ff..ec7daff594 100644 --- a/docs/guides/postgres/backup/standalone/examples/restored-postgres.yaml +++ b/docs/guides/postgres/backup/standalone/examples/restored-postgres.yaml @@ -4,7 +4,7 @@ metadata: name: restored-postgres namespace: demo spec: - version: "11.11" + version: "11.22" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/postgres/backup/standalone/index.md b/docs/guides/postgres/backup/standalone/index.md index 996e5ca989..77368cf58e 100644 --- a/docs/guides/postgres/backup/standalone/index.md +++ b/docs/guides/postgres/backup/standalone/index.md @@ -58,7 +58,7 @@ metadata: name: sample-postgres namespace: demo spec: - version: "11.11" + version: "11.22" storageType: Durable storage: storageClassName: "standard" @@ -151,7 +151,7 @@ spec: restoreTask: name: postgres-restore-11.9 type: kubedb.com/postgres - version: "11.11" + version: "11.22" ``` Stash uses the `AppBinding` crd to connect with the target database. It requires the following two fields to set in AppBinding's `Spec` section. @@ -423,7 +423,7 @@ metadata: name: restored-postgres namespace: demo spec: - version: "11.11" + version: "11.22" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/postgres/cli/cli.md b/docs/guides/postgres/cli/cli.md index fe05dfd2a9..49553aaf55 100644 --- a/docs/guides/postgres/cli/cli.md +++ b/docs/guides/postgres/cli/cli.md @@ -65,7 +65,7 @@ metadata: spec: authSecret: name: postgres-demo-auth - version: "13.2" + version: "13.13" status: creationTime: 2017-12-12T05:46:16Z phase: Running diff --git a/docs/guides/postgres/clustering/ha_cluster.md b/docs/guides/postgres/clustering/ha_cluster.md index c389e0a745..98bbe72559 100644 --- a/docs/guides/postgres/clustering/ha_cluster.md +++ b/docs/guides/postgres/clustering/ha_cluster.md @@ -34,7 +34,7 @@ metadata: name: warm-postgres namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Warm storageType: Ephemeral @@ -58,7 +58,7 @@ metadata: name: hot-postgres namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Hot storageType: Ephemeral diff --git a/docs/guides/postgres/clustering/streaming_replication.md b/docs/guides/postgres/clustering/streaming_replication.md index c13be13ae6..b5aa386284 100644 --- a/docs/guides/postgres/clustering/streaming_replication.md +++ b/docs/guides/postgres/clustering/streaming_replication.md @@ -43,7 +43,7 @@ metadata: name: ha-postgres namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 storageType: Durable storage: @@ -286,7 +286,7 @@ metadata: name: hot-postgres namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Hot storageType: Durable diff --git a/docs/guides/postgres/concepts/catalog.md b/docs/guides/postgres/concepts/catalog.md index d1cbf3adbe..fb6eeff0bf 100644 --- a/docs/guides/postgres/concepts/catalog.md +++ b/docs/guides/postgres/concepts/catalog.md @@ -30,7 +30,7 @@ As with all other Kubernetes objects, a PostgresVersion needs `apiVersion`, `kin apiVersion: catalog.kubedb.com/v1alpha1 kind: PostgresVersion metadata: - name: "13.2" + name: "13.13" spec: coordinator: image: kubedb/pg-coordinator:v0.1.0 @@ -49,7 +49,7 @@ spec: name: postgres-backup-13.1 restoreTask: name: postgres-restore-13.1 - version: "13.2" + version: "13.13" ``` ### metadata.name diff --git a/docs/guides/postgres/concepts/opsrequest.md b/docs/guides/postgres/concepts/opsrequest.md index 89b5312a13..d582519083 100644 --- a/docs/guides/postgres/concepts/opsrequest.md +++ b/docs/guides/postgres/concepts/opsrequest.md @@ -37,7 +37,7 @@ spec: name: pg-group type: UpdateVersion updateVersion: - targetVersion: 8.0.32 + targetVersion: 8.0.35 status: conditions: - lastTransitionTime: "2020-06-11T09:59:05Z" @@ -90,12 +90,13 @@ spec: type: VerticalScaling verticalScaling: postgres: - requests: - memory: "1200Mi" - cpu: "0.7" - limits: - memory: "1200Mi" - cpu: "0.7" + resources: + requests: + memory: "1200Mi" + cpu: "0.7" + limits: + memory: "1200Mi" + cpu: "0.7" status: conditions: - lastTransitionTime: "2020-06-11T09:59:05Z" diff --git a/docs/guides/postgres/concepts/postgres.md b/docs/guides/postgres/concepts/postgres.md index 51f4bb895d..a2b927e713 100644 --- a/docs/guides/postgres/concepts/postgres.md +++ b/docs/guides/postgres/concepts/postgres.md @@ -31,7 +31,7 @@ metadata: name: p1 namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 2 standbyMode: Hot streamingMode: Asynchronous @@ -238,7 +238,7 @@ metadata: name: postgres-db namespace: demo spec: - version: "13.2" + version: "13.13" init: script: configMap: diff --git a/docs/guides/postgres/configuration/using-config-file.md b/docs/guides/postgres/configuration/using-config-file.md index 0b12bb3ae5..6200006e50 100644 --- a/docs/guides/postgres/configuration/using-config-file.md +++ b/docs/guides/postgres/configuration/using-config-file.md @@ -93,7 +93,7 @@ metadata: name: custom-postgres namespace: demo spec: - version: "13.2" + version: "13.13" configSecret: name: pg-configuration storage: diff --git a/docs/guides/postgres/custom-rbac/using-custom-rbac.md b/docs/guides/postgres/custom-rbac/using-custom-rbac.md index 9d2732eaee..4f438e5bab 100644 --- a/docs/guides/postgres/custom-rbac/using-custom-rbac.md +++ b/docs/guides/postgres/custom-rbac/using-custom-rbac.md @@ -176,7 +176,7 @@ metadata: app.kubernetes.io/component: database app.kubernetes.io/instance: quick-postgres spec: - version: "13.2" + version: "13.13" storageType: Durable podTemplate: spec: @@ -301,7 +301,7 @@ metadata: app.kubernetes.io/component: database app.kubernetes.io/instance: quick-postgres spec: - version: "13.2" + version: "13.13" storageType: Durable podTemplate: spec: diff --git a/docs/guides/postgres/custom-versions/setup.md b/docs/guides/postgres/custom-versions/setup.md index 7aa1a6f0e2..d5e469e6db 100644 --- a/docs/guides/postgres/custom-versions/setup.md +++ b/docs/guides/postgres/custom-versions/setup.md @@ -83,7 +83,7 @@ spec: name: postgres-backup-13.1 restoreTask: name: postgres-restore-13.1 - version: "13.2" + version: "13.13" ``` Once we add this PostgresVersion we can use it in a new Postgres like: diff --git a/docs/guides/postgres/initialization/script_source.md b/docs/guides/postgres/initialization/script_source.md index dbf57c4aef..d51295666e 100644 --- a/docs/guides/postgres/initialization/script_source.md +++ b/docs/guides/postgres/initialization/script_source.md @@ -62,7 +62,7 @@ metadata: name: script-postgres namespace: demo spec: - version: "13.2" + version: "13.13" storage: storageClassName: "standard" accessModes: diff --git a/docs/guides/postgres/monitoring/overview.md b/docs/guides/postgres/monitoring/overview.md index 75849d1dd3..b89285eb18 100644 --- a/docs/guides/postgres/monitoring/overview.md +++ b/docs/guides/postgres/monitoring/overview.md @@ -53,7 +53,7 @@ metadata: name: sample-redis namespace: databases spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut configSecret: # configure Redis to use password for authentication name: redis-config diff --git a/docs/guides/postgres/monitoring/using-builtin-prometheus.md b/docs/guides/postgres/monitoring/using-builtin-prometheus.md index 429570b50b..877d3b8916 100644 --- a/docs/guides/postgres/monitoring/using-builtin-prometheus.md +++ b/docs/guides/postgres/monitoring/using-builtin-prometheus.md @@ -49,7 +49,7 @@ metadata: name: builtin-prom-postgres namespace: demo spec: - version: "13.2" + version: "13.13" terminationPolicy: WipeOut storage: storageClassName: "standard" @@ -108,7 +108,7 @@ Type: ClusterIP IP: 10.102.128.153 Port: prom-http 56790/TCP TargetPort: prom-http/TCP -Endpoints: 172.17.0.5:56790 +Endpoints: 172.17.0.14:56790 Session Affinity: None Events: ``` diff --git a/docs/guides/postgres/monitoring/using-prometheus-operator.md b/docs/guides/postgres/monitoring/using-prometheus-operator.md index be44b5c3ec..870b2ee6f9 100644 --- a/docs/guides/postgres/monitoring/using-prometheus-operator.md +++ b/docs/guides/postgres/monitoring/using-prometheus-operator.md @@ -95,7 +95,7 @@ metadata: name: coreos-prom-postgres namespace: demo spec: - version: "13.2" + version: "13.13" terminationPolicy: WipeOut storage: storageClassName: "standard" diff --git a/docs/guides/postgres/pitr/archiver.md b/docs/guides/postgres/pitr/archiver.md index e5143e18cb..ec34e9eacc 100644 --- a/docs/guides/postgres/pitr/archiver.md +++ b/docs/guides/postgres/pitr/archiver.md @@ -217,7 +217,7 @@ metadata: labels: archiver: "true" spec: - version: "13.6" + version: "13.13" replicas: 3 standbyMode: Hot storageType: Durable @@ -352,7 +352,7 @@ spec: name: demo-pg-manifest namespace: demo recoveryTimestamp: "2023-12-12T13:43:41.300216Z" - version: "13.6" + version: "13.13" replicas: 3 standbyMode: Hot storageType: Durable diff --git a/docs/guides/postgres/pitr/yamls/backupstorage.yaml b/docs/guides/postgres/pitr/yamls/backupstorage.yaml index 83654b1eaf..6747e4338a 100644 --- a/docs/guides/postgres/pitr/yamls/backupstorage.yaml +++ b/docs/guides/postgres/pitr/yamls/backupstorage.yaml @@ -16,4 +16,4 @@ spec: allowedNamespaces: from: All default: true - deletionPolicy: WipeOu \ No newline at end of file + deletionPolicy: WipeOut \ No newline at end of file diff --git a/docs/guides/postgres/private-registry/using-private-registry.md b/docs/guides/postgres/private-registry/using-private-registry.md index 814a540c08..bcd432aaa7 100644 --- a/docs/guides/postgres/private-registry/using-private-registry.md +++ b/docs/guides/postgres/private-registry/using-private-registry.md @@ -112,7 +112,7 @@ Here, is an example of PostgresVersion crd. Replace `` wi apiVersion: catalog.kubedb.com/v1alpha1 kind: PostgresVersion metadata: - name: "13.2" + name: "13.13" spec: coordinator: image: PRIVATE_REGISTRY/pg-coordinator:v0.1.0 @@ -131,7 +131,7 @@ spec: name: postgres-backup-13.1 restoreTask: name: postgres-restore-13.1 - version: "13.2" + version: "13.13" ``` Now, create the PostgresVersion crd, @@ -154,7 +154,7 @@ metadata: name: pvt-reg-postgres namespace: demo spec: - version: "13.2" + version: "13.13" storage: storageClassName: "standard" accessModes: diff --git a/docs/guides/postgres/quickstart/quickstart.md b/docs/guides/postgres/quickstart/quickstart.md index 5576d72db3..5d8bbcc779 100644 --- a/docs/guides/postgres/quickstart/quickstart.md +++ b/docs/guides/postgres/quickstart/quickstart.md @@ -146,7 +146,7 @@ metadata: name: quick-postgres namespace: demo spec: - version: "13.2" + version: "13.13" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/postgres/quickstart/rbac.md b/docs/guides/postgres/quickstart/rbac.md index 39c349faa6..2be4294823 100644 --- a/docs/guides/postgres/quickstart/rbac.md +++ b/docs/guides/postgres/quickstart/rbac.md @@ -52,7 +52,7 @@ metadata: name: quick-postgres namespace: demo spec: - version: "13.2" + version: "13.13" storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/postgres/remote-replica/remotereplica.md b/docs/guides/postgres/remote-replica/remotereplica.md index d0d340b97a..219c99fc53 100644 --- a/docs/guides/postgres/remote-replica/remotereplica.md +++ b/docs/guides/postgres/remote-replica/remotereplica.md @@ -143,7 +143,7 @@ spec: storageClassName: linode-block-storage storageType: Durable terminationPolicy: WipeOut - version: "15.3" + version: "15.5" ``` ```bash @@ -266,7 +266,7 @@ spec: storageClassName: linode-block-storage storageType: Durable terminationPolicy: WipeOut - version: "15.3" + version: "15.5" ``` ```bash diff --git a/docs/guides/postgres/remote-replica/yamls/pg-london.yaml b/docs/guides/postgres/remote-replica/yamls/pg-london.yaml index 31e88332e7..9bdc1c3ed8 100644 --- a/docs/guides/postgres/remote-replica/yamls/pg-london.yaml +++ b/docs/guides/postgres/remote-replica/yamls/pg-london.yaml @@ -27,4 +27,4 @@ spec: storageClassName: linode-block-storage storageType: Durable terminationPolicy: WipeOut - version: "15.3" \ No newline at end of file + version: "15.5" \ No newline at end of file diff --git a/docs/guides/postgres/remote-replica/yamls/pg-singapore.yaml b/docs/guides/postgres/remote-replica/yamls/pg-singapore.yaml index d66862c6d4..ae57b08ffe 100644 --- a/docs/guides/postgres/remote-replica/yamls/pg-singapore.yaml +++ b/docs/guides/postgres/remote-replica/yamls/pg-singapore.yaml @@ -38,4 +38,4 @@ spec: storageClassName: linode-block-storage storageType: Durable terminationPolicy: WipeOut - version: "15.3" \ No newline at end of file + version: "15.5" \ No newline at end of file diff --git a/docs/guides/postgres/scaling/horizontal-scaling/scale-horizontally/index.md b/docs/guides/postgres/scaling/horizontal-scaling/scale-horizontally/index.md index 2943575250..46460db6fe 100644 --- a/docs/guides/postgres/scaling/horizontal-scaling/scale-horizontally/index.md +++ b/docs/guides/postgres/scaling/horizontal-scaling/scale-horizontally/index.md @@ -96,7 +96,7 @@ metadata: name: pg namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Hot storageType: Durable diff --git a/docs/guides/postgres/scaling/horizontal-scaling/scale-horizontally/yamls/postgres.yaml b/docs/guides/postgres/scaling/horizontal-scaling/scale-horizontally/yamls/postgres.yaml index 3923fd72da..7ca7025ecc 100644 --- a/docs/guides/postgres/scaling/horizontal-scaling/scale-horizontally/yamls/postgres.yaml +++ b/docs/guides/postgres/scaling/horizontal-scaling/scale-horizontally/yamls/postgres.yaml @@ -4,7 +4,7 @@ metadata: name: pg namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Hot storageType: Durable diff --git a/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/index.md b/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/index.md index 93518d4ce9..1aa65de1ac 100644 --- a/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/index.md +++ b/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/index.md @@ -92,7 +92,7 @@ metadata: name: pg namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Hot storageType: Durable @@ -179,12 +179,13 @@ spec: name: pg verticalScaling: postgres: - requests: - memory: "1200Mi" - cpu: "0.7" - limits: - memory: "1200Mi" - cpu: "0.7" + resources: + requests: + memory: "1200Mi" + cpu: "0.7" + limits: + memory: "1200Mi" + cpu: "0.7" ``` Here, diff --git a/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/yamls/pg-vertical-scaling.yaml b/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/yamls/pg-vertical-scaling.yaml index 3489366120..3a8c33d923 100644 --- a/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/yamls/pg-vertical-scaling.yaml +++ b/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/yamls/pg-vertical-scaling.yaml @@ -9,9 +9,10 @@ spec: name: pg verticalScaling: postgres: - requests: - memory: "1200Mi" - cpu: "0.7" - limits: - memory: "1200Mi" - cpu: "0.7" \ No newline at end of file + resources: + requests: + memory: "1200Mi" + cpu: "0.7" + limits: + memory: "1200Mi" + cpu: "0.7" \ No newline at end of file diff --git a/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/yamls/postgres.yaml b/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/yamls/postgres.yaml index 3923fd72da..7ca7025ecc 100644 --- a/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/yamls/postgres.yaml +++ b/docs/guides/postgres/scaling/vertical-scaling/scale-vertically/yamls/postgres.yaml @@ -4,7 +4,7 @@ metadata: name: pg namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Hot storageType: Durable diff --git a/docs/guides/postgres/synchronous/index.md b/docs/guides/postgres/synchronous/index.md index 8b0a311292..83aae4478e 100644 --- a/docs/guides/postgres/synchronous/index.md +++ b/docs/guides/postgres/synchronous/index.md @@ -48,7 +48,7 @@ metadata: name: demo-pg namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Hot streamingMode: Synchronous diff --git a/docs/guides/postgres/tls/configure/index.md b/docs/guides/postgres/tls/configure/index.md index 1a053c1a25..dc875a4016 100644 --- a/docs/guides/postgres/tls/configure/index.md +++ b/docs/guides/postgres/tls/configure/index.md @@ -85,7 +85,7 @@ metadata: name: demo-pg namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Hot sslMode: verify-full diff --git a/docs/guides/postgres/tls/configure/yamls/tls-postgres.yaml b/docs/guides/postgres/tls/configure/yamls/tls-postgres.yaml index 8656d771bc..5e387194aa 100644 --- a/docs/guides/postgres/tls/configure/yamls/tls-postgres.yaml +++ b/docs/guides/postgres/tls/configure/yamls/tls-postgres.yaml @@ -4,7 +4,7 @@ metadata: name: pg namespace: demo spec: - version: "13.2" + version: "13.13" replicas: 3 standbyMode: Hot sslMode: verify-full diff --git a/docs/guides/postgres/update-version/versionupgrading/index.md b/docs/guides/postgres/update-version/versionupgrading/index.md index f469bdb830..16f3085ea4 100644 --- a/docs/guides/postgres/update-version/versionupgrading/index.md +++ b/docs/guides/postgres/update-version/versionupgrading/index.md @@ -132,7 +132,7 @@ metadata: app.kubernetes.io/name: kubedb-catalog app.kubernetes.io/version: v2021.11.24 helm.sh/chart: kubedb-catalog-v2021.11.24 - name: "13.2" + name: "13.13" spec: coordinator: image: kubedb/pg-coordinator:v0.8.0 @@ -154,7 +154,7 @@ spec: name: postgres-backup-13.1 restoreTask: name: postgres-restore-13.1 - version: "13.2" + version: "13.13" ``` @@ -171,7 +171,7 @@ metadata: name: pg namespace: demo spec: - version: "11.11" + version: "11.22" replicas: 3 standbyMode: Hot storageType: Durable @@ -254,7 +254,7 @@ metadata: spec: type: UpdateVersion updateVersion: - targetVersion: "13.2" + targetVersion: "13.13" databaseRef: name: pg ``` diff --git a/docs/guides/postgres/update-version/versionupgrading/yamls/postgres.yaml b/docs/guides/postgres/update-version/versionupgrading/yamls/postgres.yaml index 46b918e3e0..5803ea0663 100644 --- a/docs/guides/postgres/update-version/versionupgrading/yamls/postgres.yaml +++ b/docs/guides/postgres/update-version/versionupgrading/yamls/postgres.yaml @@ -4,7 +4,7 @@ metadata: name: pg namespace: demo spec: - version: "11.11" + version: "11.22" replicas: 3 standbyMode: Hot storageType: Durable diff --git a/docs/guides/postgres/update-version/versionupgrading/yamls/upgrade_version.yaml b/docs/guides/postgres/update-version/versionupgrading/yamls/upgrade_version.yaml index 9f9a5bffc5..38146d1fb4 100644 --- a/docs/guides/postgres/update-version/versionupgrading/yamls/upgrade_version.yaml +++ b/docs/guides/postgres/update-version/versionupgrading/yamls/upgrade_version.yaml @@ -6,6 +6,6 @@ metadata: spec: type: UpdateVersion updateVersion: - targetVersion: "13.2" + targetVersion: "13.13" databaseRef: name: pg diff --git a/docs/guides/proxysql/autoscaler/compute/cluster/examples/sample-mysql.yaml b/docs/guides/proxysql/autoscaler/compute/cluster/examples/sample-mysql.yaml index 7ba1a6a253..c884c6f678 100644 --- a/docs/guides/proxysql/autoscaler/compute/cluster/examples/sample-mysql.yaml +++ b/docs/guides/proxysql/autoscaler/compute/cluster/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/autoscaler/compute/cluster/index.md b/docs/guides/proxysql/autoscaler/compute/cluster/index.md index c5fdea1a6e..b8cd3e3026 100644 --- a/docs/guides/proxysql/autoscaler/compute/cluster/index.md +++ b/docs/guides/proxysql/autoscaler/compute/cluster/index.md @@ -47,7 +47,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication @@ -72,7 +72,7 @@ Let's wait for the MySQL to be Ready. ```bash $ kubectl get mysql -n demo NAME VERSION STATUS AGE -mysql-server 5.7.41 Ready 3m51s +mysql-server 5.7.44 Ready 3m51s ``` ## Autoscaling of ProxySQL Cluster diff --git a/docs/guides/proxysql/clustering/proxysql-cluster/examples/sample-mysql.yaml b/docs/guides/proxysql/clustering/proxysql-cluster/examples/sample-mysql.yaml index 7ba1a6a253..c884c6f678 100644 --- a/docs/guides/proxysql/clustering/proxysql-cluster/examples/sample-mysql.yaml +++ b/docs/guides/proxysql/clustering/proxysql-cluster/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/clustering/proxysql-cluster/index.md b/docs/guides/proxysql/clustering/proxysql-cluster/index.md index f99c66b4fd..a77facfac7 100644 --- a/docs/guides/proxysql/clustering/proxysql-cluster/index.md +++ b/docs/guides/proxysql/clustering/proxysql-cluster/index.md @@ -44,7 +44,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication @@ -69,7 +69,7 @@ Let's wait for the MySQL to be Ready. ```bash $ kubectl get mysql -n demo NAME VERSION STATUS AGE -mysql-server 5.7.41 Ready 3m51s +mysql-server 5.7.44 Ready 3m51s ``` Let's first create an user in the backend mysql server and a database to test test the proxy traffic . @@ -81,7 +81,7 @@ root@mysql-server-0:/# mysql -uroot -p$MYSQL_ROOT_PASSWORD mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 195 -Server version: 5.7.41-log MySQL Community Server (GPL) +Server version: 5.7.44-log MySQL Community Server (GPL) Copyright (c) 2000, 2021, Oracle and/or its affiliates. @@ -172,7 +172,7 @@ $ kubectl exec -it -n demo proxy-server-0 -- bash root@proxy-server-0:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 --prompt "ProxySQLAdmin > " Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 316 -Server version: 8.0.32 (ProxySQL Admin Module) +Server version: 8.0.35 (ProxySQL Admin Module) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -197,7 +197,7 @@ $ kubectl exec -it -n demo proxy-server-1 -- bash root@proxy-server-0:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 --prompt "ProxySQLAdmin >" Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 316 -Server version: 8.0.32 (ProxySQL Admin Module) +Server version: 8.0.35 (ProxySQL Admin Module) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -223,7 +223,7 @@ $ kubectl exec -it -n demo proxy-server-2 -- bash root@proxy-server-0:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 --prompt "ProxySQLAdmin >" Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 316 -Server version: 8.0.32 (ProxySQL Admin Module) +Server version: 8.0.35 (ProxySQL Admin Module) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -254,7 +254,7 @@ $ kubectl exec -it -n demo proxy-server-1 -- bash root@proxy-server-0:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 --prompt "ProxySQLAdmin >" Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 316 -Server version: 8.0.32 (ProxySQL Admin Module) +Server version: 8.0.35 (ProxySQL Admin Module) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -318,7 +318,7 @@ $ kubectl exec -it -n demo proxy-server-1 -- bash root@proxy-server-0:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 --prompt "ProxySQLAdmin >" Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 316 -Server version: 8.0.32 (ProxySQL Admin Module) +Server version: 8.0.35 (ProxySQL Admin Module) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. diff --git a/docs/guides/proxysql/concepts/declarative-configuration/index.md b/docs/guides/proxysql/concepts/declarative-configuration/index.md index 6d4dc6f534..20476384d5 100644 --- a/docs/guides/proxysql/concepts/declarative-configuration/index.md +++ b/docs/guides/proxysql/concepts/declarative-configuration/index.md @@ -99,7 +99,7 @@ spec: default_schema: "information_schema" commands_stats: "true" sessions_sort: "true" - server_version: "8.0.32" + server_version: "8.0.35" monitor_history: 60000 ping_timeout_server: 200 default_query_timeout: 36000000 @@ -178,7 +178,7 @@ spec: default_schema: "information_schema" commands_stats: "true" sessions_sort: "true" - server_version: "8.0.32" + server_version: "8.0.35" monitor_history: 60000 ping_timeout_server: 200 default_query_timeout: 36000000 diff --git a/docs/guides/proxysql/concepts/opsrequest/index.md b/docs/guides/proxysql/concepts/opsrequest/index.md index 32add1a77a..ce1ab2618a 100644 --- a/docs/guides/proxysql/concepts/opsrequest/index.md +++ b/docs/guides/proxysql/concepts/opsrequest/index.md @@ -71,12 +71,13 @@ spec: name: proxy-server verticalScaling: proxysql: - requests: - memory: "1.2Gi" - cpu: "0.6" - limits: - memory: "1.2Gi" - cpu: "0.6" + resources: + requests: + memory: "1.2Gi" + cpu: "0.6" + limits: + memory: "1.2Gi" + cpu: "0.6" ``` **Sample ProxySQLOpsRequest Objects for Reconfiguring ProxySQL cluster:** diff --git a/docs/guides/proxysql/monitoring/builtin-prometheus/examples/mysql.yaml b/docs/guides/proxysql/monitoring/builtin-prometheus/examples/mysql.yaml index e9a53b9407..d16fb2fa03 100644 --- a/docs/guides/proxysql/monitoring/builtin-prometheus/examples/mysql.yaml +++ b/docs/guides/proxysql/monitoring/builtin-prometheus/examples/mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-grp namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/monitoring/builtin-prometheus/index.md b/docs/guides/proxysql/monitoring/builtin-prometheus/index.md index 288f629509..da9b36f741 100644 --- a/docs/guides/proxysql/monitoring/builtin-prometheus/index.md +++ b/docs/guides/proxysql/monitoring/builtin-prometheus/index.md @@ -49,7 +49,7 @@ metadata: name: mysql-grp namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/monitoring/overview/index.md b/docs/guides/proxysql/monitoring/overview/index.md index d038b89966..795c804294 100644 --- a/docs/guides/proxysql/monitoring/overview/index.md +++ b/docs/guides/proxysql/monitoring/overview/index.md @@ -53,7 +53,7 @@ metadata: name: sample-redis namespace: databases spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut configSecret: # configure Redis to use password for authentication name: redis-config diff --git a/docs/guides/proxysql/monitoring/prometheus-operator/examples/mysql.yaml b/docs/guides/proxysql/monitoring/prometheus-operator/examples/mysql.yaml index e9a53b9407..d16fb2fa03 100644 --- a/docs/guides/proxysql/monitoring/prometheus-operator/examples/mysql.yaml +++ b/docs/guides/proxysql/monitoring/prometheus-operator/examples/mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-grp namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/monitoring/prometheus-operator/index.md b/docs/guides/proxysql/monitoring/prometheus-operator/index.md index 7cd4dd8b2c..ae4438ef27 100644 --- a/docs/guides/proxysql/monitoring/prometheus-operator/index.md +++ b/docs/guides/proxysql/monitoring/prometheus-operator/index.md @@ -111,7 +111,7 @@ metadata: name: mysql-grp namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/quickstart/mysqlgrp/examples/appbinding.yaml b/docs/guides/proxysql/quickstart/mysqlgrp/examples/appbinding.yaml index 08441091a6..c04a4dd697 100644 --- a/docs/guides/proxysql/quickstart/mysqlgrp/examples/appbinding.yaml +++ b/docs/guides/proxysql/quickstart/mysqlgrp/examples/appbinding.yaml @@ -17,4 +17,4 @@ spec: tlsSecret: name: mysql-server-client-cert type: mysql - version: 8.0.32 \ No newline at end of file + version: 8.0.35 \ No newline at end of file diff --git a/docs/guides/proxysql/quickstart/mysqlgrp/examples/sample-mysql.yaml b/docs/guides/proxysql/quickstart/mysqlgrp/examples/sample-mysql.yaml index 7ba1a6a253..c884c6f678 100644 --- a/docs/guides/proxysql/quickstart/mysqlgrp/examples/sample-mysql.yaml +++ b/docs/guides/proxysql/quickstart/mysqlgrp/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/quickstart/mysqlgrp/index.md b/docs/guides/proxysql/quickstart/mysqlgrp/index.md index 14ba5377ea..0244c81b7c 100644 --- a/docs/guides/proxysql/quickstart/mysqlgrp/index.md +++ b/docs/guides/proxysql/quickstart/mysqlgrp/index.md @@ -43,7 +43,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication @@ -68,7 +68,7 @@ Let's wait for the MySQL to be Ready. ```bash $ kubectl get mysql -n demo NAME VERSION STATUS AGE -mysql-server 5.7.41 Ready 3m51s +mysql-server 5.7.44 Ready 3m51s ``` Let's first create a user in the backend mysql server and a database to test the proxy traffic . @@ -80,7 +80,7 @@ root@mysql-server-0:/# mysql -uroot -p$MYSQL_ROOT_PASSWORD mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 195 -Server version: 5.7.41-log MySQL Community Server (GPL) +Server version: 5.7.44-log MySQL Community Server (GPL) Copyright (c) 2000, 2021, Oracle and/or its affiliates. @@ -184,7 +184,7 @@ $ kubectl exec -it -n demo proxy-mysql-0 -- bash root@proxy-mysql-0:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 --prompt="ProxySQLAdmin > " Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 1204 -Server version: 8.0.32 (ProxySQL Admin Module) +Server version: 8.0.35 (ProxySQL Admin Module) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -282,7 +282,7 @@ root@ubuntu-867d4588d8-tl7hh:/# mysql -utest -ppass -hproxy-server.demo.svc -P60 mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1881 -Server version: 8.0.32 (ProxySQL) +Server version: 8.0.35 (ProxySQL) Copyright (c) 2000, 2022, Oracle and/or its affiliates. diff --git a/docs/guides/proxysql/quickstart/xtradbext/index.md b/docs/guides/proxysql/quickstart/xtradbext/index.md index 5521e31322..cb0504a093 100644 --- a/docs/guides/proxysql/quickstart/xtradbext/index.md +++ b/docs/guides/proxysql/quickstart/xtradbext/index.md @@ -331,7 +331,7 @@ $ kubectl exec -it -n demo proxy-mysql-0 -- bash root@proxy-mysql-0:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 --prompt="ProxySQLAdmin > " Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 1204 -Server version: 8.0.32 (ProxySQL Admin Module) +Server version: 8.0.35 (ProxySQL Admin Module) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -428,7 +428,7 @@ root@ubuntu-867d4588d8-tl7hh:/# mysql -utest -ppass -hproxy-server.demo.svc -P60 mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1881 -Server version: 8.0.32 (ProxySQL) +Server version: 8.0.35 (ProxySQL) Copyright (c) 2000, 2022, Oracle and/or its affiliates. diff --git a/docs/guides/proxysql/reconfigure-tls/cluster/examples/sample-mysql.yaml b/docs/guides/proxysql/reconfigure-tls/cluster/examples/sample-mysql.yaml index 7ba1a6a253..c884c6f678 100644 --- a/docs/guides/proxysql/reconfigure-tls/cluster/examples/sample-mysql.yaml +++ b/docs/guides/proxysql/reconfigure-tls/cluster/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/reconfigure-tls/cluster/index.md b/docs/guides/proxysql/reconfigure-tls/cluster/index.md index aba8402956..8542e55b56 100644 --- a/docs/guides/proxysql/reconfigure-tls/cluster/index.md +++ b/docs/guides/proxysql/reconfigure-tls/cluster/index.md @@ -48,7 +48,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication @@ -75,7 +75,7 @@ Let's now wait for the mysql instance to be ready, ```bash $ kubectl get mysql -n demo NAME VERSION STATUS AGE -mysql-server 5.7.41 Ready 3m16s +mysql-server 5.7.44 Ready 3m16s $ kubectl get pods -n demo NAME READY STATUS RESTARTS AGE @@ -93,7 +93,7 @@ root@mysql-server-0:/# mysql -uroot -p$MYSQL_ROOT_PASSWORD mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 106 -Server version: 5.7.41-log MySQL Community Server (GPL) +Server version: 5.7.44-log MySQL Community Server (GPL) Copyright (c) 2000, 2021, Oracle and/or its affiliates. @@ -152,7 +152,7 @@ $ kubectl exec -it -n demo proxy-server-0 -- bash root@proxy-server-0:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 18 -Server version: 8.0.32 (ProxySQL Admin Module) +Server version: 8.0.35 (ProxySQL Admin Module) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -186,7 +186,7 @@ Let's check it with the follwing command. root@proxy-server-0:/# mysql -utest -ppass -h127.0.0.1 -P6033 Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 914 -Server version: 8.0.32 (ProxySQL) +Server version: 8.0.35 (ProxySQL) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -204,7 +204,7 @@ Current pager: stdout Using outfile: '' Using delimiter: ; Server: MySQL -Server version: 8.0.32 (ProxySQL) +Server version: 8.0.35 (ProxySQL) Protocol version: 10 Connection: 127.0.0.1 via TCP/IP Server characterset: latin1 @@ -338,7 +338,7 @@ The `mysql-have_ssl` variables should be true by this time. root@proxy-server-0:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 22 -Server version: 8.0.32 (ProxySQL Admin Module) +Server version: 8.0.35 (ProxySQL Admin Module) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -408,7 +408,7 @@ We can see that the connection is refused. Now try with the tls certificates. root@proxy-server-0:/# mysql -utest -ppass -h127.0.0.01 -P6033 --ssl-ca=/var/lib/frontend/client/ca.crt --ssl-cert=/var/lib/frontend/client/tls.crt --ssl-key=/var/lib/frontend/client/tls.key Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 107 -Server version: 8.0.32 (ProxySQL) +Server version: 8.0.35 (ProxySQL) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -426,7 +426,7 @@ Current pager: stdout Using outfile: '' Using delimiter: ; Server: MySQL -Server version: 8.0.32 (ProxySQL) +Server version: 8.0.35 (ProxySQL) Protocol version: 10 Connection: 127.0.0.01 via TCP/IP Server characterset: latin1 @@ -762,7 +762,7 @@ Let's check the effect. root@proxy-server-1:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 25 -Server version: 8.0.32 (ProxySQL Admin Module) +Server version: 8.0.35 (ProxySQL Admin Module) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -793,7 +793,7 @@ MySQL [(none)]> ^DBye root@proxy-server-1:/# mysql -utest -ppass -h127.0.0.1 -P6033 Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 267 -Server version: 8.0.32 (ProxySQL) +Server version: 8.0.35 (ProxySQL) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. diff --git a/docs/guides/proxysql/reconfigure/cluster/examples/sample-mysql.yaml b/docs/guides/proxysql/reconfigure/cluster/examples/sample-mysql.yaml index 7ba1a6a253..c884c6f678 100644 --- a/docs/guides/proxysql/reconfigure/cluster/examples/sample-mysql.yaml +++ b/docs/guides/proxysql/reconfigure/cluster/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/reconfigure/cluster/index.md b/docs/guides/proxysql/reconfigure/cluster/index.md index b2f033a93d..546955facc 100644 --- a/docs/guides/proxysql/reconfigure/cluster/index.md +++ b/docs/guides/proxysql/reconfigure/cluster/index.md @@ -46,7 +46,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication @@ -71,7 +71,7 @@ Let's wait for the MySQL to be Ready. ```bash $ kubectl get mysql -n demo NAME VERSION STATUS AGE -mysql-server 5.7.41 Ready 3m51s +mysql-server 5.7.44 Ready 3m51s ``` ### Prepare ProxySQL Cluster @@ -120,7 +120,7 @@ root@mysql-server-0:/# mysql -uroot -p$MYSQL_ROOT_PASSWORD mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 195 -Server version: 5.7.41-log MySQL Community Server (GPL) +Server version: 5.7.44-log MySQL Community Server (GPL) Copyright (c) 2000, 2021, Oracle and/or its affiliates. @@ -161,7 +161,7 @@ $ kubectl exec -it -n demo proxy-server-0 -- bash root@proxy-server-0:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 --prompt "ProxySQLAdmin > " Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 71 -Server version: 8.0.32 (ProxySQL Admin Module) +Server version: 8.0.35 (ProxySQL Admin Module) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. diff --git a/docs/guides/proxysql/scaling/horizontal-scaling/cluster/examples/sample-mysql.yaml b/docs/guides/proxysql/scaling/horizontal-scaling/cluster/examples/sample-mysql.yaml index 7ba1a6a253..c884c6f678 100644 --- a/docs/guides/proxysql/scaling/horizontal-scaling/cluster/examples/sample-mysql.yaml +++ b/docs/guides/proxysql/scaling/horizontal-scaling/cluster/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/scaling/horizontal-scaling/cluster/index.md b/docs/guides/proxysql/scaling/horizontal-scaling/cluster/index.md index eedbe46209..9f2fab7c56 100644 --- a/docs/guides/proxysql/scaling/horizontal-scaling/cluster/index.md +++ b/docs/guides/proxysql/scaling/horizontal-scaling/cluster/index.md @@ -45,7 +45,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/scaling/vertical-scaling/cluster/example/proxyops-vscale.yaml b/docs/guides/proxysql/scaling/vertical-scaling/cluster/example/proxyops-vscale.yaml index ef703713e4..d13a92a67a 100644 --- a/docs/guides/proxysql/scaling/vertical-scaling/cluster/example/proxyops-vscale.yaml +++ b/docs/guides/proxysql/scaling/vertical-scaling/cluster/example/proxyops-vscale.yaml @@ -9,9 +9,10 @@ spec: name: proxy-server verticalScaling: proxysql: - requests: - memory: "1.2Gi" - cpu: "0.6" - limits: - memory: "1.2Gi" - cpu: "0.6" \ No newline at end of file + resources: + requests: + memory: "1.2Gi" + cpu: "0.6" + limits: + memory: "1.2Gi" + cpu: "0.6" \ No newline at end of file diff --git a/docs/guides/proxysql/scaling/vertical-scaling/cluster/example/sample-mysql.yaml b/docs/guides/proxysql/scaling/vertical-scaling/cluster/example/sample-mysql.yaml index 7ba1a6a253..c884c6f678 100644 --- a/docs/guides/proxysql/scaling/vertical-scaling/cluster/example/sample-mysql.yaml +++ b/docs/guides/proxysql/scaling/vertical-scaling/cluster/example/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/scaling/vertical-scaling/cluster/index.md b/docs/guides/proxysql/scaling/vertical-scaling/cluster/index.md index 50e415907f..3ae77e0c3c 100644 --- a/docs/guides/proxysql/scaling/vertical-scaling/cluster/index.md +++ b/docs/guides/proxysql/scaling/vertical-scaling/cluster/index.md @@ -44,7 +44,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication @@ -155,12 +155,13 @@ spec: name: proxy-server verticalScaling: proxysql: - requests: - memory: "1.2Gi" - cpu: "0.6" - limits: - memory: "1.2Gi" - cpu: "0.6" + resources: + requests: + memory: "1.2Gi" + cpu: "0.6" + limits: + memory: "1.2Gi" + cpu: "0.6" ``` Here, diff --git a/docs/guides/proxysql/tls/configure/examples/sample-mysql.yaml b/docs/guides/proxysql/tls/configure/examples/sample-mysql.yaml index 7ba1a6a253..c884c6f678 100644 --- a/docs/guides/proxysql/tls/configure/examples/sample-mysql.yaml +++ b/docs/guides/proxysql/tls/configure/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/tls/configure/index.md b/docs/guides/proxysql/tls/configure/index.md index 8001501943..d09b32d871 100644 --- a/docs/guides/proxysql/tls/configure/index.md +++ b/docs/guides/proxysql/tls/configure/index.md @@ -48,7 +48,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication @@ -249,7 +249,7 @@ root@mysql-server-0:/# mysql -uroot -p$MYSQL_ROOT_PASSWORD mysql: [Warning] Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 26692 -Server version: 5.7.41-log MySQL Community Server (GPL) +Server version: 5.7.44-log MySQL Community Server (GPL) Copyright (c) 2000, 2021, Oracle and/or its affiliates. @@ -305,7 +305,7 @@ ERROR 1045 (28000): ProxySQL Error: Access denied for user 'test' (using passwor root@proxy-server-0:/ mysql -utest -ppass -h127.0.0.1 -P6033 --ssl-ca=/var/lib/frontend/server/ca.crt --ssl-cert=/var/lib/frontend/server/tls.crt --ssl-key=/var/lib/frontend/server/tls.key Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 1573 -Server version: 8.0.32 (ProxySQL) +Server version: 8.0.35 (ProxySQL) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. @@ -323,7 +323,7 @@ Current pager: stdout Using outfile: '' Using delimiter: ; Server: MySQL -Server version: 8.0.32 (ProxySQL) +Server version: 8.0.35 (ProxySQL) Protocol version: 10 Connection: 127.0.0.1 via TCP/IP Server characterset: latin1 diff --git a/docs/guides/proxysql/update-version/cluster/examples/sample-mysql.yaml b/docs/guides/proxysql/update-version/cluster/examples/sample-mysql.yaml index 7ba1a6a253..c884c6f678 100644 --- a/docs/guides/proxysql/update-version/cluster/examples/sample-mysql.yaml +++ b/docs/guides/proxysql/update-version/cluster/examples/sample-mysql.yaml @@ -4,7 +4,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/proxysql/update-version/cluster/index.md b/docs/guides/proxysql/update-version/cluster/index.md index 017c04b828..f0f1582969 100644 --- a/docs/guides/proxysql/update-version/cluster/index.md +++ b/docs/guides/proxysql/update-version/cluster/index.md @@ -44,7 +44,7 @@ metadata: name: mysql-server namespace: demo spec: - version: "5.7.41" + version: "5.7.44" replicas: 3 topology: mode: GroupReplication diff --git a/docs/guides/redis/autoscaler/compute/redis.md b/docs/guides/redis/autoscaler/compute/redis.md index 045a0a40a5..c94177044b 100644 --- a/docs/guides/redis/autoscaler/compute/redis.md +++ b/docs/guides/redis/autoscaler/compute/redis.md @@ -45,7 +45,7 @@ Here, we are going to deploy a `Redis` standalone using a supported version by ` #### Deploy Redis standalone -In this section, we are going to deploy a Redis standalone database with version `6.2.5`. Then, in the next section we will set up autoscaling for this database using `RedisAutoscaler` CRD. Below is the YAML of the `Redis` CR that we are going to create, +In this section, we are going to deploy a Redis standalone database with version `6.2.14`. Then, in the next section we will set up autoscaling for this database using `RedisAutoscaler` CRD. Below is the YAML of the `Redis` CR that we are going to create, > If you want to autoscale Redis in `Cluster` or `Sentinel` mode, just deploy a Redis database in respective Mode and rest of the steps are same. @@ -56,7 +56,7 @@ metadata: name: rd-standalone namespace: demo spec: - version: "6.2.5" + version: "6.2.14" storageType: Durable storage: resources: @@ -86,7 +86,7 @@ Now, wait until `rd-standalone` has status `Ready`. i.e, ```bash $ kubectl get mg -n demo NAME VERSION STATUS AGE -rd-standalone 6.2.5 Ready 2m53s +rd-standalone 6.2.14 Ready 2m53s ``` Let's check the Pod containers resources, diff --git a/docs/guides/redis/autoscaler/compute/sentinel.md b/docs/guides/redis/autoscaler/compute/sentinel.md index cec702b877..38894ed72a 100644 --- a/docs/guides/redis/autoscaler/compute/sentinel.md +++ b/docs/guides/redis/autoscaler/compute/sentinel.md @@ -45,7 +45,7 @@ Here, we are going to deploy a `RedisSentinel` instance using a supported versio #### Deploy Redis standalone -In this section, we are going to deploy a RedisSentinel instance with version `6.2.5`. Then, in the next section we will set up autoscaling for this database using `RedisSentinelAutoscaler` CRD. Below is the YAML of the `RedisSentinel` CR that we are going to create, +In this section, we are going to deploy a RedisSentinel instance with version `6.2.14`. Then, in the next section we will set up autoscaling for this database using `RedisSentinelAutoscaler` CRD. Below is the YAML of the `RedisSentinel` CR that we are going to create, ```yaml apiVersion: kubedb.com/v1alpha2 @@ -54,7 +54,7 @@ metadata: name: sen-demo namespace: demo spec: - version: "6.2.5" + version: "6.2.14" storageType: Durable replicas: 3 storage: @@ -85,7 +85,7 @@ Now, wait until `sen-demo` has status `Ready`. i.e, ```bash $ kubectl get redissentinel -n demo NAME VERSION STATUS AGE -sen-demo 6.2.5 Ready 86s +sen-demo 6.2.14 Ready 86s ``` Let's check the Pod containers resources, diff --git a/docs/guides/redis/autoscaler/storage/redis.md b/docs/guides/redis/autoscaler/storage/redis.md index b7da52bd38..4485f193ae 100644 --- a/docs/guides/redis/autoscaler/storage/redis.md +++ b/docs/guides/redis/autoscaler/storage/redis.md @@ -63,7 +63,7 @@ Now, we are going to deploy a `Redis` standalone using a supported version by `K > If you want to autoscale Redis in `Cluster` or `Sentinel` mode, just deploy a Redis database in respective Mode and rest of the steps are same. -In this section, we are going to deploy a Redis standalone database with version `6.2.5`. Then, in the next section we will set up autoscaling for this database using `RedisAutoscaler` CRD. Below is the YAML of the `Redis` CR that we are going to create, +In this section, we are going to deploy a Redis standalone database with version `6.2.14`. Then, in the next section we will set up autoscaling for this database using `RedisAutoscaler` CRD. Below is the YAML of the `Redis` CR that we are going to create, ```yaml apiVersion: kubedb.com/v1alpha2 @@ -72,7 +72,7 @@ metadata: name: rd-standalone namespace: demo spec: - version: "6.2.5" + version: "6.2.14" storageType: Durable storage: storageClassName: topolvm-provisioner @@ -94,7 +94,7 @@ Now, wait until `rd-standalone` has status `Ready`. i.e, ```bash $ kubectl get rd -n demo NAME VERSION STATUS AGE -rd-standalone 6.2.5 Ready 2m53s +rd-standalone 6.2.14 Ready 2m53s ``` Let's check volume size from statefulset, and from the persistent volume, diff --git a/docs/guides/redis/backup/auto-backup/examples/sample-redis-1.yaml b/docs/guides/redis/backup/auto-backup/examples/sample-redis-1.yaml index 113b4cbbb8..3342db0e00 100644 --- a/docs/guides/redis/backup/auto-backup/examples/sample-redis-1.yaml +++ b/docs/guides/redis/backup/auto-backup/examples/sample-redis-1.yaml @@ -6,7 +6,7 @@ metadata: annotations: stash.appscode.com/backup-blueprint: redis-backup-template spec: - version: 6.0.6 + version: 6.0.20 storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/redis/backup/auto-backup/examples/sample-redis-2.yaml b/docs/guides/redis/backup/auto-backup/examples/sample-redis-2.yaml index afe4ace73a..f6933b9887 100644 --- a/docs/guides/redis/backup/auto-backup/examples/sample-redis-2.yaml +++ b/docs/guides/redis/backup/auto-backup/examples/sample-redis-2.yaml @@ -7,7 +7,7 @@ metadata: stash.appscode.com/backup-blueprint: redis-backup-template stash.appscode.com/schedule: "*/3 * * * *" spec: - version: 6.0.6 + version: 6.0.20 storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/redis/backup/auto-backup/examples/sample-redis-3.yaml b/docs/guides/redis/backup/auto-backup/examples/sample-redis-3.yaml index 9e829c50eb..d98942d0c6 100644 --- a/docs/guides/redis/backup/auto-backup/examples/sample-redis-3.yaml +++ b/docs/guides/redis/backup/auto-backup/examples/sample-redis-3.yaml @@ -7,7 +7,7 @@ metadata: stash.appscode.com/backup-blueprint: redis-backup-template params.stash.appscode.com/args: "-db 0" spec: - version: 6.0.6 + version: 6.0.20 storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/redis/backup/auto-backup/index.md b/docs/guides/redis/backup/auto-backup/index.md index 9572d36031..7479c875bc 100644 --- a/docs/guides/redis/backup/auto-backup/index.md +++ b/docs/guides/redis/backup/auto-backup/index.md @@ -131,7 +131,7 @@ metadata: annotations: stash.appscode.com/backup-blueprint: redis-backup-template spec: - version: 6.0.6 + version: 6.0.20 storageType: Durable storage: storageClassName: "standard" @@ -314,7 +314,7 @@ metadata: stash.appscode.com/backup-blueprint: redis-backup-template stash.appscode.com/schedule: "*/3 * * * *" spec: - version: 6.0.6 + version: 6.0.20 storageType: Durable storage: storageClassName: "standard" @@ -491,7 +491,7 @@ metadata: stash.appscode.com/backup-blueprint: redis-backup-template params.stash.appscode.com/args: "-db 0" spec: - version: 6.0.6 + version: 6.0.20 storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/redis/backup/standalone/examples/redis.yaml b/docs/guides/redis/backup/standalone/examples/redis.yaml index 8deceb2067..9d26c58287 100644 --- a/docs/guides/redis/backup/standalone/examples/redis.yaml +++ b/docs/guides/redis/backup/standalone/examples/redis.yaml @@ -4,7 +4,7 @@ metadata: name: redis-quickstart namespace: demo spec: - version: 6.0.6 + version: 6.0.20 storageType: Durable storage: storageClassName: "standard" diff --git a/docs/guides/redis/backup/standalone/index.md b/docs/guides/redis/backup/standalone/index.md index 9888909666..6f5151dc67 100644 --- a/docs/guides/redis/backup/standalone/index.md +++ b/docs/guides/redis/backup/standalone/index.md @@ -58,7 +58,7 @@ metadata: name: sample-redis namespace: demo spec: - version: 6.0.6 + version: 6.0.20 storageType: Durable storage: storageClassName: "standard" @@ -83,7 +83,7 @@ Let's check if the database is ready to use, ```bash ❯ kubectl get rd -n demo NAME VERSION STATUS AGE -sample-redis 6.0.6 Ready 58s +sample-redis 6.0.20 Ready 58s ``` The database is `Ready`. Verify that KubeDB has created a Secret and a Service for this database using the following commands, @@ -181,7 +181,7 @@ Verify that the `AppBinding` has been created successfully using the following c ```bash ❯ kubectl get appbindings -n demo NAME TYPE VERSION AGE -sample-redis kubedb.com/redis 6.0.6 2m54s +sample-redis kubedb.com/redis 6.0.20 2m54s ``` Let's check the YAML of the above `AppBinding`, @@ -219,7 +219,7 @@ clientConfig: secret: name: sample-redis-auth type: kubedb.com/redis - version: 6.0.6 + version: 6.0.20 ``` Stash requires the following fields to set in AppBinding's `Spec` section. diff --git a/docs/guides/redis/clustering/redis-cluster.md b/docs/guides/redis/clustering/redis-cluster.md index 28817935e7..9f3d5ae1e4 100644 --- a/docs/guides/redis/clustering/redis-cluster.md +++ b/docs/guides/redis/clustering/redis-cluster.md @@ -48,7 +48,7 @@ metadata: name: redis-cluster namespace: demo spec: - version: 6.2.5 + version: 6.2.14 mode: Cluster cluster: master: 3 @@ -82,7 +82,7 @@ KubeDB operator watches for `Redis` objects using Kubernetes API. When a `Redis` ```bash $ kubectl get rd -n demo NAME VERSION STATUS AGE -redis-cluster 6.2.5 Ready 82s +redis-cluster 6.2.14 Ready 82s $ kubectl get statefulset -n demo @@ -127,7 +127,7 @@ kind: Redis metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | - {"apiVersion":"kubedb.com/v1alpha2","kind":"Redis","metadata":{"annotations":{},"name":"redis-cluster","namespace":"demo"},"spec":{"cluster":{"master":3,"replicas":1},"mode":"Cluster","storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"Halt","version":"6.2.5"}} + {"apiVersion":"kubedb.com/v1alpha2","kind":"Redis","metadata":{"annotations":{},"name":"redis-cluster","namespace":"demo"},"spec":{"cluster":{"master":3,"replicas":1},"mode":"Cluster","storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"Halt","version":"6.2.14"}} creationTimestamp: "2023-02-02T11:16:57Z" finalizers: - kubedb.com @@ -199,7 +199,7 @@ spec: storageClassName: standard storageType: Durable terminationPolicy: Halt - version: 6.2.5 + version: 6.2.14 status: conditions: - lastTransitionTime: "2023-02-02T11:16:57Z" diff --git a/docs/guides/redis/concepts/appbinding.md b/docs/guides/redis/concepts/appbinding.md index 8325878a1c..a85a1b15a1 100644 --- a/docs/guides/redis/concepts/appbinding.md +++ b/docs/guides/redis/concepts/appbinding.md @@ -34,7 +34,7 @@ kind: AppBinding metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | - {"apiVersion":"kubedb.com/v1alpha2","kind":"Redis","metadata":{"annotations":{},"name":"redis1","namespace":"demo"},"spec":{"authSecret":{"externallyManaged":false,"name":"redis1-auth"},"autoOps":{"disabled":true},"cluster":{"master":3,"replicas":1},"configSecret":{"name":"rd-custom-config"},"disableAuth":false,"halted":false,"healthChecker":{"disableWriteCheck":false,"failureThreshold":2,"periodSeconds":15,"timeoutSeconds":10},"mode":"Cluster","monitor":{"agent":"prometheus.io/operator","prometheus":{"serviceMonitor":{"interval":"10s","labels":{"app":"kubedb"}}}},"podTemplate":{"controller":{"annotations":{"passMe":"ToStatefulSet"}},"metadata":{"annotations":{"passMe":"ToDatabasePod"}},"spec":{"args":["--loglevel verbose"],"env":[{"name":"ENV_VARIABLE","value":"value"}],"imagePullSecrets":[{"name":"regcred"}],"resources":{"limits":{"cpu":"500m","memory":"128Mi"},"requests":{"cpu":"250m","memory":"64Mi"}},"serviceAccountName":"my-service-account"}},"serviceTemplates":[{"alias":"primary","metadata":{"annotations":{"passMe":"ToService"}},"spec":{"ports":[{"name":"http","port":9200}],"type":"NodePort"}}],"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"terminationPolicy":"Halt","tls":{"certificates":[{"alias":"client","emailAddresses":["abc@appscode.com"],"subject":{"organizations":["kubedb"]}},{"alias":"server","emailAddresses":["abc@appscode.com"],"subject":{"organizations":["kubedb"]}}],"issuerRef":{"apiGroup":"cert-manager.io","kind":"Issuer","name":"redis-ca-issuer"}},"version":"6.2.5"}} + {"apiVersion":"kubedb.com/v1alpha2","kind":"Redis","metadata":{"annotations":{},"name":"redis1","namespace":"demo"},"spec":{"authSecret":{"externallyManaged":false,"name":"redis1-auth"},"autoOps":{"disabled":true},"cluster":{"master":3,"replicas":1},"configSecret":{"name":"rd-custom-config"},"disableAuth":false,"halted":false,"healthChecker":{"disableWriteCheck":false,"failureThreshold":2,"periodSeconds":15,"timeoutSeconds":10},"mode":"Cluster","monitor":{"agent":"prometheus.io/operator","prometheus":{"serviceMonitor":{"interval":"10s","labels":{"app":"kubedb"}}}},"podTemplate":{"controller":{"annotations":{"passMe":"ToStatefulSet"}},"metadata":{"annotations":{"passMe":"ToDatabasePod"}},"spec":{"args":["--loglevel verbose"],"env":[{"name":"ENV_VARIABLE","value":"value"}],"imagePullSecrets":[{"name":"regcred"}],"resources":{"limits":{"cpu":"500m","memory":"128Mi"},"requests":{"cpu":"250m","memory":"64Mi"}},"serviceAccountName":"my-service-account"}},"serviceTemplates":[{"alias":"primary","metadata":{"annotations":{"passMe":"ToService"}},"spec":{"ports":[{"name":"http","port":9200}],"type":"NodePort"}}],"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"terminationPolicy":"Halt","tls":{"certificates":[{"alias":"client","emailAddresses":["abc@appscode.com"],"subject":{"organizations":["kubedb"]}},{"alias":"server","emailAddresses":["abc@appscode.com"],"subject":{"organizations":["kubedb"]}}],"issuerRef":{"apiGroup":"cert-manager.io","kind":"Issuer","name":"redis-ca-issuer"}},"version":"6.2.14"}} creationTimestamp: "2023-02-01T05:27:19Z" generation: 1 labels: @@ -80,7 +80,7 @@ spec: tlsSecret: name: redis1-client-cert type: kubedb.com/redis - version: 6.2.5 + version: 6.2.14 ``` diff --git a/docs/guides/redis/concepts/catalog.md b/docs/guides/redis/concepts/catalog.md index 65d533769c..4aa621c95d 100644 --- a/docs/guides/redis/concepts/catalog.md +++ b/docs/guides/redis/concepts/catalog.md @@ -39,12 +39,12 @@ metadata: app.kubernetes.io/name: kubedb-catalog app.kubernetes.io/version: v2023.01.17 helm.sh/chart: kubedb-catalog-v2023.01.17 - name: 6.2.5 + name: 6.2.14 spec: coordinator: image: kubedb/redis-coordinator:v0.9.1 db: - image: redis:6.2.5 + image: redis:6.2.14 exporter: image: kubedb/redis_exporter:1.9.0 initContainer: @@ -57,7 +57,7 @@ spec: name: redis-backup-6.2.5 restoreTask: name: redis-restore-6.2.5 - version: 6.2.5 + version: 6.2.14 ``` ### metadata.name diff --git a/docs/guides/redis/concepts/redis.md b/docs/guides/redis/concepts/redis.md index cc43823cfe..7473ebe549 100644 --- a/docs/guides/redis/concepts/redis.md +++ b/docs/guides/redis/concepts/redis.md @@ -31,7 +31,7 @@ metadata: spec: autoOps: disabled: true - version: 6.2.5 + version: 6.2.14 mode: Cluster cluster: master: 3 @@ -126,9 +126,9 @@ AutoOps is an optional field to control the generation of version update & TLS-r `spec.version` is a required field specifying the name of the [RedisVersion](/docs/guides/redis/concepts/catalog.md) crd where the docker images are specified. Currently, when you install KubeDB, it creates the following `RedisVersion` crds, -- `4.0.6-v2`, `4.0.11`, `5.0.3-v1`, `5.0.14` -- `6.0.6`, `6.2.5`, `6.2.7` `6.2.8` -- `7.0.4`, `7.0.5`, `7.0.6` +- `4.0.6-v2`, `4.0.11`, `6.2.14`, `5.0.14` +- `6.0.20`, `6.2.14`, `6.2.14` `6.2.14` +- `7.0.4`, `7.0.14`, `7.0.6` ### spec.mode diff --git a/docs/guides/redis/concepts/redisopsrequest.md b/docs/guides/redis/concepts/redisopsrequest.md index cad4f50a03..e049a7939f 100644 --- a/docs/guides/redis/concepts/redisopsrequest.md +++ b/docs/guides/redis/concepts/redisopsrequest.md @@ -37,7 +37,7 @@ spec: databaseRef: name: standalone-redis updateVersion: - targetVersion: 7.0.5 + targetVersion: 7.0.14 ``` Sample `RedisOpsRequest` for horizontal scaling: @@ -76,12 +76,13 @@ spec: name: sentinel-tls verticalScaling: redissentinel: - requests: - memory: "300Mi" - cpu: "200m" - limits: - memory: "800Mi" - cpu: "500m" + resources: + requests: + memory: "300Mi" + cpu: "200m" + limits: + memory: "800Mi" + cpu: "500m" ``` Here, we are going to describe the various sections of `RedisOpsRequest` and `RedisSentinelOpsRequest` CR . @@ -181,12 +182,13 @@ spec: type: VerticalScaling verticalScaling: redis: - limits: - cpu: 500m - memory: 800Mi - requests: - cpu: 200m - memory: 300Mi + resources: + limits: + cpu: 500m + memory: 800Mi + requests: + cpu: 200m + memory: 300Mi status: conditions: - lastTransitionTime: "2023-02-02T09:14:01Z" diff --git a/docs/guides/redis/concepts/redissentinel.md b/docs/guides/redis/concepts/redissentinel.md index c2dd7a72db..4751fef836 100644 --- a/docs/guides/redis/concepts/redissentinel.md +++ b/docs/guides/redis/concepts/redissentinel.md @@ -31,7 +31,7 @@ metadata: spec: autoOps: disabled: true - version: 6.2.5 + version: 6.2.14 replicas: 3 disableAuth: false authSecret: @@ -118,8 +118,8 @@ AutoOps is an optional field to control the generation of version update & TLS-r `spec.version` is a required field specifying the name of the [RedisVersion](/docs/guides/redis/concepts/catalog.md) crd where the docker images are specified. RedisSentinel is supported in following Redis Versions. -- `6.2.5`, `6.2.7` `6.2.8` -- `7.0.4`, `7.0.5`, `7.0.6` +- `6.2.14`, `6.2.14` `6.2.14` +- `7.0.4`, `7.0.14`, `7.0.6` ### spec.disableAuth @@ -376,7 +376,7 @@ metadata: name: redis1 namespace: demo spec: - version: 6.2.5 + version: 6.2.14 replicas: 3 sentinelRef: name: sentinel1 diff --git a/docs/guides/redis/configuration/using-config-file.md b/docs/guides/redis/configuration/using-config-file.md index e6da2521c2..fca886e96f 100644 --- a/docs/guides/redis/configuration/using-config-file.md +++ b/docs/guides/redis/configuration/using-config-file.md @@ -103,7 +103,7 @@ metadata: name: custom-redis namespace: demo spec: - version: 6.2.5 + version: 6.2.14 configSecret: name: rd-configuration storage: @@ -123,7 +123,7 @@ Check if the database is ready ```bash $ kubectl get redis -n demo NAME VERSION STATUS AGE -custom-redis 6.2.5 Ready 10m +custom-redis 6.2.14 Ready 10m ``` diff --git a/docs/guides/redis/custom-rbac/using-custom-rbac.md b/docs/guides/redis/custom-rbac/using-custom-rbac.md index c4fbf1e033..6a595d1966 100644 --- a/docs/guides/redis/custom-rbac/using-custom-rbac.md +++ b/docs/guides/redis/custom-rbac/using-custom-rbac.md @@ -144,7 +144,7 @@ metadata: name: quick-redis namespace: demo spec: - version: 6.2.5 + version: 6.2.14 storageType: Durable storage: storageClassName: "standard" @@ -171,7 +171,7 @@ Check if database is in Ready state ```bash $ kubectl get redis -n demo NAME VERSION STATUS AGE -quick-redis 6.2.5 Ready 117s +quick-redis 6.2.14 Ready 117s ``` ## Reusing Service Account @@ -194,7 +194,7 @@ metadata: name: minute-redis namespace: demo spec: - version: 6.2.5 + version: 6.2.14 podTemplate: spec: serviceAccountName: my-custom-serviceaccount @@ -225,8 +225,8 @@ Check if database is in Ready state ```bash $ kubectl get redis -n demo NAME VERSION STATUS AGE -minute-redis 6.2.5 Ready 76s -quick-redis 6.2.5 Ready 4m26s +minute-redis 6.2.14 Ready 76s +quick-redis 6.2.14 Ready 4m26s ``` ## Cleaning up diff --git a/docs/guides/redis/monitoring/overview.md b/docs/guides/redis/monitoring/overview.md index a5c70e0414..426bfb7ed5 100644 --- a/docs/guides/redis/monitoring/overview.md +++ b/docs/guides/redis/monitoring/overview.md @@ -53,7 +53,7 @@ metadata: name: sample-redis namespace: databases spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut configSecret: # configure Redis to use password for authentication name: redis-config diff --git a/docs/guides/redis/monitoring/using-builtin-prometheus.md b/docs/guides/redis/monitoring/using-builtin-prometheus.md index 3ff6771f25..0fa2d4037c 100644 --- a/docs/guides/redis/monitoring/using-builtin-prometheus.md +++ b/docs/guides/redis/monitoring/using-builtin-prometheus.md @@ -49,7 +49,7 @@ metadata: name: builtin-prom-redis namespace: demo spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut storage: storageClassName: "standard" @@ -107,7 +107,7 @@ Type: ClusterIP IP: 10.106.243.251 Port: prom-http 56790/TCP TargetPort: prom-http/TCP -Endpoints: 172.17.0.5:56790 +Endpoints: 172.17.0.14:56790 Session Affinity: None Events: ``` diff --git a/docs/guides/redis/monitoring/using-prometheus-operator.md b/docs/guides/redis/monitoring/using-prometheus-operator.md index 1e0ce578e0..6713eb08f0 100644 --- a/docs/guides/redis/monitoring/using-prometheus-operator.md +++ b/docs/guides/redis/monitoring/using-prometheus-operator.md @@ -95,7 +95,7 @@ metadata: name: coreos-prom-redis namespace: demo spec: - version: 6.0.6 + version: 6.0.20 terminationPolicy: WipeOut storage: storageClassName: "standard" diff --git a/docs/guides/redis/private-registry/using-private-registry.md b/docs/guides/redis/private-registry/using-private-registry.md index 852779d5aa..cebc42c144 100644 --- a/docs/guides/redis/private-registry/using-private-registry.md +++ b/docs/guides/redis/private-registry/using-private-registry.md @@ -39,13 +39,13 @@ NAME VERSION INITCONTAINER_IMAGE DB_IMAGE EXPORTER_ 4.0.11 4.0.11 kubedb/redis-init:0.7.0 kubedb/redis:4.0.11 kubedb/redis_exporter:v0.21.1 4.0.6-v2 4.0.6 kubedb/redis-init:0.7.0 kubedb/redis:4.0.6-v2 kubedb/redis_exporter:v0.21.1 5.0.14 5.0.14 kubedb/redis-init:0.7.0 redis:5.0.14 kubedb/redis_exporter:1.9.0 -5.0.3-v1 5.0.3 kubedb/redis-init:0.7.0 kubedb/redis:5.0.3-v1 kubedb/redis_exporter:v0.21.1 -6.0.6 6.0.6 kubedb/redis-init:0.7.0 kubedb/redis:6.0.6 kubedb/redis_exporter:1.9.0 -6.2.5 6.2.5 kubedb/redis-init:0.7.0 redis:6.2.5 kubedb/redis_exporter:1.9.0 -6.2.7 6.2.7 kubedb/redis-init:0.7.0 redis:6.2.7 kubedb/redis_exporter:1.9.0 -6.2.8 6.2.8 kubedb/redis-init:0.7.0 redis:6.2.8 kubedb/redis_exporter:1.9.0 +6.2.14 5.0.3 kubedb/redis-init:0.7.0 kubedb/redis:6.2.14 kubedb/redis_exporter:v0.21.1 +6.0.20 6.0.20 kubedb/redis-init:0.7.0 kubedb/redis:6.0.20 kubedb/redis_exporter:1.9.0 +6.2.14 6.2.14 kubedb/redis-init:0.7.0 redis:6.2.14 kubedb/redis_exporter:1.9.0 +6.2.14 6.2.14 kubedb/redis-init:0.7.0 redis:6.2.14 kubedb/redis_exporter:1.9.0 +6.2.14 6.2.14 kubedb/redis-init:0.7.0 redis:6.2.14 kubedb/redis_exporter:1.9.0 7.0.4 7.0.4 kubedb/redis-init:0.7.0 redis:7.0.4 kubedb/redis_exporter:1.9.0 -7.0.5 7.0.5 kubedb/redis-init:0.7.0 redis:7.0.5 kubedb/redis_exporter:1.9.0 +7.0.14 7.0.14 kubedb/redis-init:0.7.0 redis:7.0.14 kubedb/redis_exporter:1.9.0 7.0.6 7.0.6 kubedb/redis-init:0.7.0 redis:7.0.6 kubedb/redis_exporter:1.9.0 ``` @@ -61,15 +61,15 @@ NAME VERSION INITCONTAINER_IMAGE DB_IMAGE EXPORTER_ apiVersion: catalog.kubedb.com/v1alpha1 kind: RedisVersion metadata: - name: 6.2.5 + name: 6.2.14 spec: db: - image: PRIVATE_DOCKER_REGISTRY:6.0.6 + image: PRIVATE_DOCKER_REGISTRY:6.0.20 exporter: image: PRIVATE_DOCKER_REGISTRY:1.9.0 podSecurityPolicies: databasePolicyName: redis-db - version: 6.0.6 + version: 6.0.20 ``` ## Create ImagePullSecret @@ -107,7 +107,7 @@ metadata: name: redis-pvt-reg namespace: demo spec: - version: 6.2.5 + version: 6.2.14 storage: storageClassName: "standard" accessModes: @@ -141,7 +141,7 @@ redis-pvt-reg-0 1/1 Running 0 2m $ kubectl get rd -n demo NAME VERSION STATUS AGE -redis-pvt-reg 6.2.5 Running 40s +redis-pvt-reg 6.2.14 Running 40s ``` ## Cleaning up diff --git a/docs/guides/redis/quickstart/quickstart.md b/docs/guides/redis/quickstart/quickstart.md index ebeeee4b56..36713c7d0d 100644 --- a/docs/guides/redis/quickstart/quickstart.md +++ b/docs/guides/redis/quickstart/quickstart.md @@ -57,13 +57,13 @@ NAME VERSION DB_IMAGE DEPRECATED AGE 4.0.11 4.0.11 kubedb/redis:4.0.11 7h31m 4.0.6-v2 4.0.6 kubedb/redis:4.0.6-v2 7h31m 5.0.14 5.0.14 redis:5.0.14 7h31m -5.0.3-v1 5.0.3 kubedb/redis:5.0.3-v1 7h31m -6.0.6 6.0.6 kubedb/redis:6.0.6 7h31m -6.2.5 6.2.5 redis:6.2.5 7h31m -6.2.7 6.2.7 redis:6.2.7 7h31m -6.2.8 6.2.8 redis:6.2.8 7h31m +6.2.14 5.0.3 kubedb/redis:6.2.14 7h31m +6.0.20 6.0.20 kubedb/redis:6.0.20 7h31m +6.2.14 6.2.14 redis:6.2.14 7h31m +6.2.14 6.2.14 redis:6.2.14 7h31m +6.2.14 6.2.14 redis:6.2.14 7h31m 7.0.4 7.0.4 redis:7.0.4 7h31m -7.0.5 7.0.5 redis:7.0.5 7h31m +7.0.14 7.0.14 redis:7.0.14 7h31m 7.0.6 7.0.6 redis:7.0.6 7h31m ``` @@ -78,7 +78,7 @@ metadata: name: redis-quickstart namespace: demo spec: - version: 6.2.5 + version: 6.2.14 storageType: Durable storage: storageClassName: "standard" @@ -97,7 +97,7 @@ redis.kubedb.com/redis-quickstart created Here, -- `spec.version` is name of the RedisVersion crd where the docker images are specified. In this tutorial, a Redis 6.2.5 database is created. +- `spec.version` is name of the RedisVersion crd where the docker images are specified. In this tutorial, a Redis 6.2.14 database is created. - `spec.storageType` specifies the type of storage that will be used for Redis server. It can be `Durable` or `Ephemeral`. Default value of this field is `Durable`. If `Ephemeral` is used then KubeDB will create Redis server using `EmptyDir` volume. In this case, you don't have to specify `spec.storage` field. This is useful for testing purposes. - `spec.storage` specifies PVC spec that will be dynamically allocated to store data for this database. This storage spec will be passed to the StatefulSet created by KubeDB operator to run database pods. You can specify any StorageClass available in your cluster with appropriate resource requests. - `spec.terminationPolicy` gives flexibility whether to `nullify`(reject) the delete operation of `Redis` crd or which resources KubeDB should keep or delete when you delete `Redis` crd. If admission webhook is enabled, It prevents users from deleting the database as long as the `spec.terminationPolicy` is set to `DoNotTerminate`. Learn details of all `TerminationPolicy` [here](/docs/guides/redis/concepts/redis.md#specterminationpolicy) @@ -109,7 +109,7 @@ KubeDB operator watches for `Redis` objects using Kubernetes api. When a `Redis` ```bash $ kubectl get rd -n demo NAME VERSION STATUS AGE -redis-quickstart 6.2.5 Running 1m +redis-quickstart 6.2.14 Running 1m $ kubectl describe rd -n demo redis-quickstart Name: redis-quickstart @@ -193,7 +193,7 @@ AppBinding: Secret: Name: redis-quickstart-auth Type: kubedb.com/redis - Version: 6.2.5 + Version: 6.2.14 Events: Type Reason Age From Message @@ -289,7 +289,7 @@ spec: storageClassName: standard storageType: Durable terminationPolicy: Delete - version: 6.2.5 + version: 6.2.14 status: conditions: - lastTransitionTime: "2022-05-31T04:31:38Z" @@ -386,7 +386,7 @@ Now, you can run the following command to get all redis resources in demo namesp ```bash $ kubectl get redis,secret,pvc -n demo NAME VERSION STATUS AGE -redis.kubedb.com/redis-quickstart 6.2.5 Halted 5m26s +redis.kubedb.com/redis-quickstart 6.2.14 Halted 5m26s NAME TYPE DATA AGE secret/default-token-rs764 kubernetes.io/service-account-token 3 6h54m @@ -415,7 +415,7 @@ When the database is resumed successfully, you can see the database Status is se ```bash $ kubectl get rd -n demo NAME VERSION STATUS AGE -redis-quickstart 6.2.5 Ready 7m52s +redis-quickstart 6.2.14 Ready 7m52s ``` Now, If you again exec into the `pod` and look for previous data, you will see that, all the data persists. diff --git a/docs/guides/redis/reconfigure-tls/sentinel.md b/docs/guides/redis/reconfigure-tls/sentinel.md index a787c558e3..c9f8474a01 100644 --- a/docs/guides/redis/reconfigure-tls/sentinel.md +++ b/docs/guides/redis/reconfigure-tls/sentinel.md @@ -49,7 +49,7 @@ metadata: name: sen-sample namespace: demo spec: - version: 6.2.7 + version: 6.2.14 replicas: 3 storageType: Durable storage: @@ -74,7 +74,7 @@ Now, wait until `sen-sample` created has status `Ready`. i.e, ```bash $ kubectl get redissentinel -n demo NAME VERSION STATUS AGE -sen-sample 6.2.7 Ready 5m20s +sen-sample 6.2.14 Ready 5m20s ``` ### Deploy Redis without TLS @@ -88,7 +88,7 @@ metadata: name: rd-sample namespace: demo spec: - version: 6.2.5 + version: 6.2.14 replicas: 3 sentinelRef: name: sen-sample @@ -118,7 +118,7 @@ Now, wait until `redis-standalone` has status `Ready`. i.e, $ watch kubectl get rd -n demo Every 2.0s: kubectl get rd -n demo NAME VERSION STATUS AGE -rd-sample 6.2.5 Ready 88s +rd-sample 6.2.14 Ready 88s ``` Now, we can connect to this database through redis-cli verify that the TLS is disabled. @@ -250,7 +250,7 @@ Let's check if new sentinel named `sen-demo-tls` is created ```bash $ kubectl get redissentinel -n demo NAME VERSION STATUS AGE -sen-demo-tls 6.2.7 Ready 17m +sen-demo-tls 6.2.14 Ready 17m ``` Now, connect to this database by exec into a pod and verify if `tls` has been set up as intended. @@ -522,7 +522,7 @@ Let's check if new sentinel named `sen-sample` is created ```bash $ kubectl get redissentinel -n demo NAME VERSION STATUS AGE -sen-sample 6.2.7 Ready 7m56s +sen-sample 6.2.14 Ready 7m56s ``` Now, Lets exec into the database primary node and find out that TLS is disabled or not. diff --git a/docs/guides/redis/reconfigure-tls/standalone.md b/docs/guides/redis/reconfigure-tls/standalone.md index 5827d612ee..658bb749de 100644 --- a/docs/guides/redis/reconfigure-tls/standalone.md +++ b/docs/guides/redis/reconfigure-tls/standalone.md @@ -51,7 +51,7 @@ metadata: name: rd-sample namespace: demo spec: - version: "6.2.5" + version: "6.2.14" mode: Standalone storage: storageClassName: "standard" @@ -75,7 +75,7 @@ Now, wait until `redis-standalone` has status `Ready`. i.e, $ watch kubectl get rd -n demo Every 2.0s: kubectl get rd -n demo NAME VERSION STATUS AGE -rd-sample 6.2.5 Ready 88s +rd-sample 6.2.14 Ready 88s ``` Now, we can connect to this database through redis-cli verify that the TLS is disabled. diff --git a/docs/guides/redis/scaling/horizontal-scaling/cluster.md b/docs/guides/redis/scaling/horizontal-scaling/cluster.md index 96a3fae40c..3006b619b8 100644 --- a/docs/guides/redis/scaling/horizontal-scaling/cluster.md +++ b/docs/guides/redis/scaling/horizontal-scaling/cluster.md @@ -43,7 +43,7 @@ Here, we are going to deploy a `Redis` cluster using a supported version by `Kub ### Prepare Redis Cluster Database -Now, we are going to deploy a `Redis` cluster database with version `6.2.7`. +Now, we are going to deploy a `Redis` cluster database with version `6.2.14`. ### Deploy Redis Cluster @@ -56,7 +56,7 @@ metadata: name: redis-cluster namespace: demo spec: - version: 6.2.7 + version: 6.2.14 mode: Cluster cluster: master: 3 @@ -84,7 +84,7 @@ Now, wait until `rd-cluster` has status `Ready`. i.e. , ```bash $ kubectl get redis -n demo NAME VERSION STATUS AGE -redis-cluster 6.2.7 Ready 7m +redis-cluster 6.2.14 Ready 7m ``` Let's check the number of master and replicas this database has from the Redis object diff --git a/docs/guides/redis/scaling/horizontal-scaling/sentinel.md b/docs/guides/redis/scaling/horizontal-scaling/sentinel.md index 249803ab94..f1377c2543 100644 --- a/docs/guides/redis/scaling/horizontal-scaling/sentinel.md +++ b/docs/guides/redis/scaling/horizontal-scaling/sentinel.md @@ -39,7 +39,7 @@ namespace/demo created ### Prepare Redis Sentinel Database -Now, we are going to deploy a `RedisSentinel` instance with version `6.2.7` and a `Redis` database with version `6.2.5`. Then, in the next section we are going to apply horizontal scaling on the sentinel and the database using `RedisSentinelOpsRequest` and `RedisOpsRequest` CRD. +Now, we are going to deploy a `RedisSentinel` instance with version `6.2.14` and a `Redis` database with version `6.2.14`. Then, in the next section we are going to apply horizontal scaling on the sentinel and the database using `RedisSentinelOpsRequest` and `RedisOpsRequest` CRD. ### Deploy RedisSentinel : @@ -52,7 +52,7 @@ metadata: name: sen-sample namespace: demo spec: - version: 6.2.7 + version: 6.2.14 replicas: 5 storageType: Durable storage: @@ -77,7 +77,7 @@ Now, wait until `sen-sample` created has status `Ready`. i.e, ```bash $ kubectl get redissentinel -n demo NAME VERSION STATUS AGE -sen-sample 6.2.7 Ready 5m20s +sen-sample 6.2.14 Ready 5m20s ``` Let's check the number of replicas this sentinel has from the RedisSentinel object @@ -98,7 +98,7 @@ metadata: name: rd-sample namespace: demo spec: - version: 6.2.5 + version: 6.2.14 replicas: 3 sentinelRef: name: sen-sample @@ -127,7 +127,7 @@ Now, wait until `rd-sample` created has status `Ready`. i.e, ```bash $ kubectl get redis -n demo NAME VERSION STATUS AGE -rd-sample 6.2.5 Ready 2m11s +rd-sample 6.2.14 Ready 2m11s ``` Let's check the Pod containers resources, ```bash diff --git a/docs/guides/redis/scaling/vertical-scaling/cluster.md b/docs/guides/redis/scaling/vertical-scaling/cluster.md index ad1fb8abab..7da81d0d3e 100644 --- a/docs/guides/redis/scaling/vertical-scaling/cluster.md +++ b/docs/guides/redis/scaling/vertical-scaling/cluster.md @@ -42,7 +42,7 @@ Here, we are going to deploy a `Redis` cluster using a supported version by `Kub ### Prepare Redis Cluster Database -Now, we are going to deploy a `Redis` cluster database with version `5.0.3-v1`. +Now, we are going to deploy a `Redis` cluster database with version `6.2.14`. ### Deploy Redis Cluster @@ -55,7 +55,7 @@ metadata: name: redis-cluster namespace: demo spec: - version: 7.0.5 + version: 7.0.14 mode: Cluster cluster: master: 3 @@ -89,7 +89,7 @@ Now, wait until `rd-cluster` has status `Ready`. i.e. , ```bash $ kubectl get redis -n demo NAME VERSION STATUS AGE -redis-cluster 7.0.5 Ready 7m +redis-cluster 7.0.14 Ready 7m ``` Let's check the Pod containers resources, @@ -142,12 +142,13 @@ spec: name: redis-cluster verticalScaling: redis: - requests: - memory: "300Mi" - cpu: "200m" - limits: - memory: "800Mi" - cpu: "500m" + resources: + requests: + memory: "300Mi" + cpu: "200m" + limits: + memory: "800Mi" + cpu: "500m" ``` diff --git a/docs/guides/redis/scaling/vertical-scaling/sentinel.md b/docs/guides/redis/scaling/vertical-scaling/sentinel.md index 01dcf761b5..32311748b0 100644 --- a/docs/guides/redis/scaling/vertical-scaling/sentinel.md +++ b/docs/guides/redis/scaling/vertical-scaling/sentinel.md @@ -39,7 +39,7 @@ namespace/demo created ### Prepare Redis Sentinel Database -Now, we are going to deploy a `RedisSentinel` instance with version `6.2.7` and a `Redis` database with version `6.2.5`. Then, in the next section we are going to apply vertical scaling on the sentinel and the database using `RedisOpsRequest` CRD +Now, we are going to deploy a `RedisSentinel` instance with version `6.2.14` and a `Redis` database with version `6.2.14`. Then, in the next section we are going to apply vertical scaling on the sentinel and the database using `RedisOpsRequest` CRD ### Deploy RedisSentinel : @@ -52,7 +52,7 @@ metadata: name: sen-sample namespace: demo spec: - version: 6.2.7 + version: 6.2.14 replicas: 3 storageType: Durable storage: @@ -83,7 +83,7 @@ Now, wait until `sen-sample` created has status `Ready`. i.e, ```bash $ kubectl get redissentinel -n demo NAME VERSION STATUS AGE -sen-sample 6.2.7 Ready 5m20s +sen-sample 6.2.14 Ready 5m20s ``` Let's check the Pod containers resources, @@ -111,7 +111,7 @@ metadata: name: rd-sample namespace: demo spec: - version: 6.2.5 + version: 6.2.14 replicas: 3 sentinelRef: name: sen-sample @@ -146,7 +146,7 @@ Now, wait until `rd-sample` created has status `Ready`. i.e, ```bash $ kubectl get redis -n demo NAME VERSION STATUS AGE -rd-sample 6.2.5 Ready 2m11s +rd-sample 6.2.14 Ready 2m11s ``` Let's check the Pod containers resources, ```bash @@ -184,12 +184,13 @@ spec: name: sen-sample verticalScaling: redissentinel: - requests: - memory: "300Mi" - cpu: "200m" - limits: - memory: "800Mi" - cpu: "500m" + resources: + requests: + memory: "300Mi" + cpu: "200m" + limits: + memory: "800Mi" + cpu: "500m" ``` Here, @@ -257,12 +258,13 @@ spec: name: rd-sample verticalScaling: redis: - requests: - memory: "300Mi" - cpu: "200m" - limits: - memory: "800Mi" - cpu: "500m" + resources: + requests: + memory: "300Mi" + cpu: "200m" + limits: + memory: "800Mi" + cpu: "500m" ``` Here, diff --git a/docs/guides/redis/scaling/vertical-scaling/standalone.md b/docs/guides/redis/scaling/vertical-scaling/standalone.md index 49cb19a7b0..e054892c10 100644 --- a/docs/guides/redis/scaling/vertical-scaling/standalone.md +++ b/docs/guides/redis/scaling/vertical-scaling/standalone.md @@ -42,7 +42,7 @@ Here, we are going to deploy a `Redis` standalone using a supported version by ### Prepare Redis Standalone Database -Now, we are going to deploy a `Redis` standalone database with version `5.0.3-v1`. +Now, we are going to deploy a `Redis` standalone database with version `6.2.14`. ### Deploy Redis standalone @@ -55,7 +55,7 @@ metadata: name: redis-quickstart namespace: demo spec: - version: 5.0.3-v1 + version: 6.2.14 storageType: Durable storage: storageClassName: "standard" @@ -84,7 +84,7 @@ Now, wait until `rd-quickstart` has status `Ready`. i.e. , ```bash $ kubectl get redis -n demo NAME VERSION STATUS AGE -redis-quickstart 5.0.3-v1 Ready 2m30s +redis-quickstart 6.2.14 Ready 2m30s ``` Let's check the Pod containers resources, @@ -126,15 +126,15 @@ spec: name: redis-quickstart verticalScaling: redis: - requests: - memory: "300Mi" - cpu: "200m" - limits: - memory: "800Mi" - cpu: "500m" + resources: + requests: + memory: "300Mi" + cpu: "200m" + limits: + memory: "800Mi" + cpu: "500m" ``` - Here, - `spec.databaseRef.name` specifies that we are performing vertical scaling operation on `redis-quickstart` database. diff --git a/docs/guides/redis/sentinel/redis-sentinel.md b/docs/guides/redis/sentinel/redis-sentinel.md index 086c656720..2e0321d448 100644 --- a/docs/guides/redis/sentinel/redis-sentinel.md +++ b/docs/guides/redis/sentinel/redis-sentinel.md @@ -48,7 +48,7 @@ metadata: name: sen-demo namespace: demo spec: - version: 6.2.8 + version: 6.2.14 replicas: 3 storageType: Durable storage: @@ -84,7 +84,7 @@ metadata: name: rd-demo namespace: demo spec: - version: 6.2.8 + version: 6.2.14 replicas: 3 sentinelRef: name: sen-demo @@ -117,11 +117,11 @@ KubeDB operator watches for `Redis` objects using Kubernetes API. When a `Redis` ```bash $ kubectl get redissentinel -n demo NAME VERSION STATUS AGE -sen-demo 6.2.8 Ready 2m39 +sen-demo 6.2.14 Ready 2m39 $ kubectl get redis -n demo NAME VERSION STATUS AGE -rd-demo 6.2.8 Ready 2m41s +rd-demo 6.2.14 Ready 2m41s $ kubectl get statefulset -n demo NAME READY AGE @@ -170,7 +170,7 @@ kind: RedisSentinel metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | - {"apiVersion":"kubedb.com/v1alpha2","kind":"RedisSentinel","metadata":{"annotations":{},"name":"sen-demo","namespace":"demo"},"spec":{"replicas":3,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"Halt","version":"6.2.8"}} + {"apiVersion":"kubedb.com/v1alpha2","kind":"RedisSentinel","metadata":{"annotations":{},"name":"sen-demo","namespace":"demo"},"spec":{"replicas":3,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"storageType":"Durable","terminationPolicy":"Halt","version":"6.2.14"}} creationTimestamp: "2023-02-03T06:36:16Z" finalizers: - kubedb.com @@ -231,7 +231,7 @@ spec: storageClassName: standard storageType: Durable terminationPolicy: Halt - version: 6.2.8 + version: 6.2.14 status: conditions: - lastTransitionTime: "2023-02-03T06:36:16Z" diff --git a/docs/guides/redis/sentinel/replacesentinel/replace-sentinel.md b/docs/guides/redis/sentinel/replacesentinel/replace-sentinel.md index 59ff503979..cd5879eb6f 100644 --- a/docs/guides/redis/sentinel/replacesentinel/replace-sentinel.md +++ b/docs/guides/redis/sentinel/replacesentinel/replace-sentinel.md @@ -42,7 +42,7 @@ Here, we are going to deploy a `Redis` and `RedisSentinel` instance using a sup ### Prepare RedisSentinel -Now, we are going to deploy a `RedisSentinel` version `6.2.8`. +Now, we are going to deploy a `RedisSentinel` version `6.2.14`. ```yaml apiVersion: kubedb.com/v1alpha2 kind: RedisSentinel @@ -50,7 +50,7 @@ metadata: name: sen-demo namespace: demo spec: - version: 6.2.8 + version: 6.2.14 replicas: 3 storageType: Durable storage: @@ -74,7 +74,7 @@ Now, wait until `sen-dmo` has status `Ready`. i.e. , ```bash $ kubectl get redissentinel -n demo NAME VERSION STATUS AGE -sen-demo 6.2.8 Ready 96s +sen-demo 6.2.14 Ready 96s ``` ### Deploy Redis in Sentinel Mode @@ -86,7 +86,7 @@ metadata: name: rd-demo namespace: demo spec: - version: 6.2.8 + version: 6.2.14 replicas: 3 sentinelRef: name: sen-demo @@ -114,7 +114,7 @@ Now, wait until `rd-demo` has status `Ready`. i.e. , ```bash NAME VERSION STATUS AGE -rd-demo 6.2.8 Ready 67s +rd-demo 6.2.14 Ready 67s ``` Lets exec into a sentinel pod, and make sure sentinel monitors redis master @@ -175,7 +175,7 @@ metadata: name: new-sentinel namespace: demo spec: - version: 6.2.5 + version: 6.2.14 replicas: 3 storageType: Durable storage: @@ -199,8 +199,8 @@ Now, wait until `new-sentinel` has status `Ready`. i.e. , ```bash $ kubectl get redissentinel -n demo NAME VERSION STATUS AGE -new-sentinel 6.2.5 Ready 60s -sen-demo 6.2.8 Ready 11m +new-sentinel 6.2.14 Ready 60s +sen-demo 6.2.14 Ready 11m ``` Here, we are going to replace `sen-demo` with `new-sentinel` diff --git a/docs/guides/redis/tls/cluster.md b/docs/guides/redis/tls/cluster.md index 22e69274eb..fdf49701e6 100644 --- a/docs/guides/redis/tls/cluster.md +++ b/docs/guides/redis/tls/cluster.md @@ -94,7 +94,7 @@ metadata: name: rd-tls namespace: demo spec: - version: "6.2.5" + version: "6.2.14" mode: Cluster cluster: master: 3 @@ -126,7 +126,7 @@ Now, wait until `rd-tls` has status `Ready`. i.e, $ watch kubectl get rd -n demo Every 2.0s: kubectl get redis -n demo NAME VERSION STATUS AGE -rd-tls 6.2.5 Ready 2m14s +rd-tls 6.2.14 Ready 2m14s ``` ### Verify TLS/SSL in Redis Cluster diff --git a/docs/guides/redis/tls/sentinel.md b/docs/guides/redis/tls/sentinel.md index e05ef5df09..30ae812a14 100644 --- a/docs/guides/redis/tls/sentinel.md +++ b/docs/guides/redis/tls/sentinel.md @@ -99,7 +99,7 @@ metadata: namespace: demo spec: replicas: 3 - version: "6.2.5" + version: "6.2.14" tls: issuerRef: apiGroup: "cert-manager.io" @@ -127,7 +127,7 @@ Now, wait until `sen-tls` has status `Ready`. i.e, $ watch kubectl get redissentinel -n demo Every 2.0s: kubectl get redis -n demo NAME VERSION STATUS AGE -sen-tls 6.2.5 Ready 111s +sen-tls 6.2.14 Ready 111s ``` ### Verify TLS/SSL in Redis in Sentinel Mode @@ -185,7 +185,7 @@ metadata: name: rd-tls namespace: demo spec: - version: "6.2.5" + version: "6.2.14" mode: Sentinel replicas: 3 sentinelRef: @@ -218,7 +218,7 @@ Now, wait until `rd-tls` has status `Ready`. i.e, $ watch kubectl get rd -n demo Every 2.0s: kubectl get redis -n demo NAME VERSION STATUS AGE -rd-tls 6.2.5 Ready 2m14s +rd-tls 6.2.14 Ready 2m14s ``` ### Verify TLS/SSL in Redis in Sentinel Mode diff --git a/docs/guides/redis/tls/standalone.md b/docs/guides/redis/tls/standalone.md index 36e79555ad..f0d6c290a7 100644 --- a/docs/guides/redis/tls/standalone.md +++ b/docs/guides/redis/tls/standalone.md @@ -94,7 +94,7 @@ metadata: name: rd-tls namespace: demo spec: - version: "6.2.5" + version: "6.2.14" tls: issuerRef: apiGroup: "cert-manager.io" @@ -122,7 +122,7 @@ Now, wait until `rd-tls` has status `Ready`. i.e, $ watch kubectl get rd -n demo Every 2.0s: kubectl get redis -n demo NAME VERSION STATUS AGE -rd-tls 6.2.5 Ready 14s +rd-tls 6.2.14 Ready 14s ``` ### Verify TLS/SSL in Redis Standalone diff --git a/docs/guides/redis/update-version/cluster.md b/docs/guides/redis/update-version/cluster.md index 076eac7d27..2f35741c53 100644 --- a/docs/guides/redis/update-version/cluster.md +++ b/docs/guides/redis/update-version/cluster.md @@ -39,7 +39,7 @@ namespace/demo created ### Prepare Redis Cluster Database -Now, we are going to deploy a `Redis` cluster database with version `5.0.3-v1`. +Now, we are going to deploy a `Redis` cluster database with version `6.2.14`. ### Deploy Redis cluster : @@ -52,7 +52,7 @@ metadata: name: redis-cluster namespace: demo spec: - version: 6.0.6 + version: 6.0.20 mode: Cluster cluster: master: 3 @@ -80,14 +80,14 @@ Now, wait until `redis-cluster` created has status `Ready`. i.e, ```bash $ kubectl get rd -n demo NAME VERSION STATUS AGE -redis-cluster 6.0.6 Ready 88s +redis-cluster 6.0.20 Ready 88s ``` We are now ready to apply the `RedisOpsRequest` CR to update this database. ### Update Redis Version -Here, we are going to update `Redis` cluster from `6.0.6` to `7.0.5`. +Here, we are going to update `Redis` cluster from `6.0.20` to `7.0.14`. #### Create RedisOpsRequest: @@ -104,14 +104,14 @@ spec: databaseRef: name: redis-cluster updateVersion: - targetVersion: 7.0.5 + targetVersion: 7.0.14 ``` Here, - `spec.databaseRef.name` specifies that we are performing operation on `redis-cluster` Redis database. - `spec.type` specifies that we are going to perform `UpdateVersion` on our database. -- `spec.updateVersion.targetVersion` specifies the expected version of the database `7.0.5`. +- `spec.updateVersion.targetVersion` specifies the expected version of the database `7.0.14`. Let's create the `RedisOpsRequest` CR we have shown above, @@ -139,13 +139,13 @@ Now, we are going to verify whether the `Redis` and the related `StatefulSets` t ```bash $ kubectl get redis -n demo redis-cluster -o=jsonpath='{.spec.version}{"\n"}' -7.0.5 +7.0.14 $ kubectl get statefulset -n demo redis-cluster-shard0 -o=jsonpath='{.spec.template.spec.containers[0].image}{"\n"}' -redis:7.0.5@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 +redis:7.0.14@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 $ kubectl get pods -n demo redis-cluster-shard1-1 -o=jsonpath='{.spec.containers[0].image}{"\n"}' -redis:7.0.5@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 +redis:7.0.14@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 ``` You can see from above, our `Redis` cluster database has been updated with the new version. So, the update process is successfully completed. diff --git a/docs/guides/redis/update-version/sentinel.md b/docs/guides/redis/update-version/sentinel.md index e93003afa1..718be707d2 100644 --- a/docs/guides/redis/update-version/sentinel.md +++ b/docs/guides/redis/update-version/sentinel.md @@ -39,7 +39,7 @@ namespace/demo created ### Prepare Redis Sentinel Database -Now, we are going to deploy a `RedisSentinel` instance with version `6.2.7` and a `Redis` database with version `6.2.5`. Then, in the next section we will update the version of the sentinel and the database using `RedisOpsRequest` CRD +Now, we are going to deploy a `RedisSentinel` instance with version `6.2.14` and a `Redis` database with version `6.2.14`. Then, in the next section we will update the version of the sentinel and the database using `RedisOpsRequest` CRD ### Deploy RedisSentinel : @@ -52,7 +52,7 @@ metadata: name: sen-sample namespace: demo spec: - version: 6.2.7 + version: 6.2.14 replicas: 3 storageType: Durable storage: @@ -77,7 +77,7 @@ Now, wait until `sen-sample` created has status `Ready`. i.e, ```bash $ kubectl get redissentinel -n demo NAME VERSION STATUS AGE -sen-sample 6.2.7 Ready 5m20s +sen-sample 6.2.14 Ready 5m20s ``` ### Deploy Redis : @@ -91,7 +91,7 @@ metadata: name: rd-sample namespace: demo spec: - version: 6.2.5 + version: 6.2.14 replicas: 3 sentinelRef: name: sen-sample @@ -120,14 +120,14 @@ Now, wait until `rd-sample` created has status `Ready`. i.e, ```bash $ kubectl get redis -n demo NAME VERSION STATUS AGE -rd-sample 6.2.5 Ready 2m11s +rd-sample 6.2.14 Ready 2m11s ``` We are now ready to apply the `RedisSentinelOpsRequest` CR to update the sentinel version and `RedisOpsRequest` CR to update the database version. ### Update RedisSentinel Version -Here, we are going to update `RedisSentinel` standalone from `6.2.7` to `7.0.5`. +Here, we are going to update `RedisSentinel` standalone from `6.2.14` to `7.0.14`. #### Create RedisSentinelOpsRequest: @@ -144,14 +144,14 @@ spec: databaseRef: name: sen-sample updateVersion: - targetVersion: 7.0.5 + targetVersion: 7.0.14 ``` Here, - `spec.databaseRef.name` specifies that we are performing operation on `sen-sample` RedisSentinel instance. - `spec.type` specifies that we are going to perform `UpdateVersion` on our database. -- `spec.updateVersion.targetVersion` specifies the expected version of the database `7.0.5`. +- `spec.updateVersion.targetVersion` specifies the expected version of the database `7.0.14`. Let's create the `RedisSentinelOpsRequest` CR we have shown above, @@ -179,19 +179,19 @@ Now, we are going to verify whether the `RedisSentinel` and the related `Statefu ```bash $ kubectl get redissentinel -n demo sen-sample -o=jsonpath='{.spec.version}{"\n"}' -7.0.5 +7.0.14 $ kubectl get statefulset -n demo sen-sample -o=jsonpath='{.spec.template.spec.containers[0].image}{"\n"}' -redis:7.0.5@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 +redis:7.0.14@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 $ kubectl get pods -n demo sen-sample-0 -o=jsonpath='{.spec.containers[0].image}{"\n"}' -redis:7.0.5@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 +redis:7.0.14@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 ``` You can see from above, our `RedisSentinel` sen-demo has been updated with the new version. So, the UpdateVersion process is successfully completed. ### Update Redis Version -Here, we are going to update `Redis` standalone from `6.2.5` to `7.0.4`. +Here, we are going to update `Redis` standalone from `6.2.14` to `7.0.4`. #### Create RedispsRequest: @@ -215,7 +215,7 @@ Here, - `spec.databaseRef.name` specifies that we are performing operation on `rd-sample` Redis database. - `spec.type` specifies that we are going to perform `UpdateVersion` on our database. -- `spec.updateVersion.targetVersion` specifies the expected version of the database `7.0.5`. +- `spec.updateVersion.targetVersion` specifies the expected version of the database `7.0.14`. Let's create the `RedisOpsRequest` CR we have shown above, diff --git a/docs/guides/redis/update-version/standalone.md b/docs/guides/redis/update-version/standalone.md index 52503a6f85..189d26020d 100644 --- a/docs/guides/redis/update-version/standalone.md +++ b/docs/guides/redis/update-version/standalone.md @@ -38,7 +38,7 @@ namespace/demo created ### Prepare Redis Standalone Database -Now, we are going to deploy a `Redis` standalone database with version `5.0.3-v1`. +Now, we are going to deploy a `Redis` standalone database with version `6.2.14`. ### Deploy Redis standalone : @@ -51,7 +51,7 @@ metadata: name: redis-quickstart namespace: demo spec: - version: 5.0.3-v1 + version: 6.2.14 storageType: Durable storage: storageClassName: "standard" @@ -74,14 +74,14 @@ Now, wait until `redis-quickstart` created has status `Ready`. i.e, ```bash $ kubectl get rd -n demo NAME VERSION STATUS AGE -redis-quickstart 5.0.3-v1 Ready 5m14s +redis-quickstart 6.2.14 Ready 5m14s ``` We are now ready to apply the `RedisOpsRequest` CR to update this database. ### Update Redis Version -Here, we are going to update `Redis` standalone from `5.0.3-v1` to `7.0.5`. +Here, we are going to update `Redis` standalone from `6.2.14` to `7.0.14`. #### Create RedisOpsRequest: @@ -98,14 +98,14 @@ spec: databaseRef: name: redis-quickstart updateVersion: - targetVersion: 7.0.5 + targetVersion: 7.0.14 ``` Here, - `spec.databaseRef.name` specifies that we are performing operation on `redis-quickstart` Redis database. - `spec.type` specifies that we are going to perform `UpdateVersion` on our database. -- `spec.updateVersion.targetVersion` specifies the expected version of the database `7.0.5`. +- `spec.updateVersion.targetVersion` specifies the expected version of the database `7.0.14`. Let's create the `RedisOpsRequest` CR we have shown above, @@ -133,13 +133,13 @@ Now, we are going to verify whether the `Redis` and the related `StatefulSets` t ```bash $ kubectl get redis -n demo redis-quickstart -o=jsonpath='{.spec.version}{"\n"}' -7.0.5 +7.0.14 $ kubectl get statefulset -n demo redis-quickstart -o=jsonpath='{.spec.template.spec.containers[0].image}{"\n"}' -redis:7.0.5@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 +redis:7.0.14@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 $ kubectl get pods -n demo redis-quickstart-0 -o=jsonpath='{.spec.containers[0].image}{"\n"}' -redis:7.0.5@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 +redis:7.0.14@sha256:dfeb5451fce377ab47c5bb6b6826592eea534279354bbfc3890c0b5e9b57c763 ``` You can see from above, our `Redis` standalone database has been updated with the new version. So, the UpdateVersion process is successfully completed. diff --git a/docs/guides/redis/volume-expansion/volume-expansion.md b/docs/guides/redis/volume-expansion/volume-expansion.md index 443f73201c..4d276a381c 100644 --- a/docs/guides/redis/volume-expansion/volume-expansion.md +++ b/docs/guides/redis/volume-expansion/volume-expansion.md @@ -54,7 +54,7 @@ topolvm-provisioner topolvm.cybozu.com Delete WaitForFirstConsum We can see from the output the `topolvm-provisioner` storage class has `ALLOWVOLUMEEXPANSION` field as true. So, this storage class supports volume expansion. We will use this storage class. You can install topolvm from [here](https://github.com/topolvm/topolvm). -Now, we are going to deploy a `Redis` database with in `Cluster` Mode version `6.2.5`. +Now, we are going to deploy a `Redis` database with in `Cluster` Mode version `6.2.14`. ### Deploy Redis @@ -67,7 +67,7 @@ metadata: name: sample-redis namespace: demo spec: - version: 6.2.5 + version: 6.2.14 mode: Cluster cluster: master: 3 @@ -95,7 +95,7 @@ Now, wait until `sample-redis` has status `Ready`. i.e, ```bash $ kubectl get redis -n demo NAME VERSION STATUS AGE -sample-redis 6.2.5 Ready 5m4s +sample-redis 6.2.14 Ready 5m4s ``` Let's check volume size from statefulset, and from the persistent volume,