Skip to content

Commit

Permalink
replace mariadb
Browse files Browse the repository at this point in the history
Signed-off-by: SK Ali Arman <[email protected]>
  • Loading branch information
sheikh-arman committed Sep 18, 2024
1 parent 44d55f6 commit db61d8d
Show file tree
Hide file tree
Showing 24 changed files with 396 additions and 475 deletions.
2 changes: 1 addition & 1 deletion docs/guides/mariadb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ aliases:
- Use [Custom RBAC](/docs/guides/mariadb/custom-rbac/using-custom-rbac).
- Use [private Docker registry](/docs/guides/mariadb/private-registry/quickstart) to deploy MySQL with KubeDB.
- Initialize [MariaDB with Script](/docs/guides/mariadb/initialization/using-script).
- Backup and Restore [MariaDB](/docs/guides/mariadb/backup/overview).
- Backup and Restore [MariaDB](/docs/guides/mariadb/backup/stash/overview).
- Want to hack on KubeDB? Check our [contribution guidelines](/docs/CONTRIBUTING.md).
2 changes: 1 addition & 1 deletion docs/guides/mariadb/backup/kubestash/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Backup & Restore PostgreSQL | KubeStash
title: Backup & Restore MariaDB | KubeStash
menu:
docs_{{ .version }}:
identifier: guides-mariadb-backup-stashv2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: core.kubestash.com/v1alpha1
kind: BackupConfiguration
metadata:
name: sample-postgres-backup
name: sample-mariadb-backup
namespace: demo
spec:
target:
apiGroup: kubedb.com
kind: Postgres
kind: MariaDB
namespace: demo
name: sample-postgres
name: sample-mariadb
backends:
- name: gcs-backend
storageRef:
Expand All @@ -24,14 +24,14 @@ spec:
jobTemplate:
backoffLimit: 1
repositories:
- name: gcs-postgres-repo
- name: gcs-mariadb-repo
backend: gcs-backend
directory: /postgres
directory: /mariadb
encryptionSecret:
name: encrypt-secret
namespace: demo
addon:
name: postgres-addon
name: mariadb-addon
tasks:
- name: manifest-backup
- name: logical-backup
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
apiVersion: core.kubestash.com/v1alpha1
kind: RestoreSession
metadata:
name: restore-sample-postgres
name: restore-sample-mariadb
namespace: demo
spec:
manifestOptions:
restoreNamespace: dev
postgres:
mariaDB:
db: true
dataSource:
repository: gcs-postgres-repo
repository: gcs-mariadb-repo
snapshot: latest
encryptionSecret:
name: encrypt-secret
namespace: demo
addon:
name: postgres-addon
name: mariadb-addon
tasks:
- name: logical-backup-restore
- name: manifest-restore
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
apiVersion: kubedb.com/v1
kind: Postgres
kind: MariaDB
metadata:
name: sample-postgres
name: sample-mariadb
namespace: demo
spec:
version: "16.1"
version: 11.1.3
replicas: 3
standbyMode: Hot
streamingMode: Synchronous
storageType: Durable
storage:
accessModes:
Expand Down
Loading

0 comments on commit db61d8d

Please sign in to comment.