Skip to content

Add database migration docs#887

Open
refat75 wants to merge 2 commits into
masterfrom
migration
Open

Add database migration docs#887
refat75 wants to merge 2 commits into
masterfrom
migration

Conversation

@refat75

@refat75 refat75 commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Rabbani Islam Refat <refat@appscode.com>
@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit c0571bb):

https://kubedb-v2-hugo--pr887-migration-f4rbd9l5.web.app

(expires Tue, 23 Jun 2026 06:13:17 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 0f29ae8ae0bd54a99bf2b223b6833be47acd5943

Signed-off-by: Rabbani Islam Refat <refat@appscode.com>

- The source `PostgreSQL` instance must be network-reachable from within your Kubernetes cluster.

- The source `PostgreSQL` instance must have `wal_level` set to `logical`. The database user provided for migration must have the `REPLICATION` privilege.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All DBs has this kind of pre-requisites. Can you add some source-links or tell where/how to do this ?

First, create an authentication secret to communicate with the source MariaDB database:

```bash
$ kubectl create secret generic source-mariadb-auth -n demo \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about TLS db ?

Every 2.0s: kubectl get migrator -n demo

NAME PHASE DBTYPE STAGE LAG PROGRESS AGE
mysql-migrate Running mysql Streaming 0B 4h36m

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the way I can see the migration progress percentage ? I see empty value here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants