title | summary | category |
---|---|---|
Deploy DM on Kubernetes |
Deploy DM on Kubernetes |
how-to |
This document describes how to deploy DM of the new HA architecture with the yamls in this directory.
Update the rpc configs if necessary in master/config/config.toml
.
{{< copyable "shell-regular" >}}
kubectl apply -k master -n <namespace>
**Note: **
3
replicas are deployed by default.storageClassName
is set tolocal-storage
by default.
-
If you only need to use DM for incremental data migration, no need to create PVC for dm-worker, just deploy it with below command:
{{< copyable "shell-regular" >}}
kubectl apply -k worker/base -n <namespace>
-
If you need to use DM for both full and incremental data migration, you have to create PVC for dm-worker, deploy it with below command:
{{< copyable "shell-regular" >}}
kubectl apply -k worker/overlays/full -n <namespace>
**Note: **
3
replicas are deployed by default.storageClassName
is set tolocal-storage
for PVC by default.- If PVCs are created, they are mounted to
/data
directory.