You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/migration-state-migration-cli.adoc
+1-37Lines changed: 1 addition & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ State migration is specifically designed to be used in conjunction with external
13
13
14
14
If you have a CI/CD pipeline, you can migrate stateless components by deploying them on the target cluster. Then you can migrate stateful components by using {mtc-short}.
15
15
16
-
You can perform a state migration between clusters or within the same cluster.
16
+
You can perform a state migration between clusters or within the same cluster.
17
17
18
18
[IMPORTANT]
19
19
====
@@ -27,42 +27,6 @@ State migration migrates only the components that constitute an application's st
27
27
* The manifests of the application are available in a central repository that is accessible from both the source and the target clusters.
28
28
29
29
30
-
.Procedure
31
-
32
-
. Migrate persistent volume data from the source to the target cluster.
33
-
+
34
-
You can perform this step as many times as needed. The source application continues running.
35
-
36
-
. Quiesce the source application.
37
-
+
38
-
You can do this by setting the replicas of workload resources to `0`, either directly on the source cluster or by updating the manifests in GitHub and re-syncing the Argo CD application.
39
-
40
-
. Clone application manifests to the target cluster.
41
-
+
42
-
You can use Argo CD to clone the application manifests to the target cluster.
43
-
44
-
. Migrate the remaining volume data from the source to the target cluster.
45
-
+
46
-
Migrate any new data created by the application during the state migration process by performing a final data migration.
47
-
48
-
. If the cloned application is in a quiesced state, unquiesce it.
49
-
50
-
. Switch the DNS record to the target cluster to re-direct user traffic to the migrated application.
51
-
52
-
[NOTE]
53
-
====
54
-
{mtc-short} 1.6 cannot quiesce applications automatically when performing state migration. It can only migrate PV data. Therefore, you must use your CD mechanisms for quiescing or unquiescing applications.
55
-
56
-
{mtc-short} 1.7 introduces explicit Stage and Cutover flows. You can use staging to perform initial data transfers as many times as needed. Then you can perform a cutover, in which the source applications are quiesced automatically.
57
-
====
58
-
59
-
.Prerequisites
60
-
61
-
* The state of the application on the source cluster is persisted in `PersistentVolumes` provisioned through `PersistentVolumeClaims`.
62
-
63
-
* The manifests of the application are available in a central repository that is accessible from both the source and the target clusters.
64
-
65
-
66
30
.Procedure
67
31
68
32
. Migrate persistent volume data from the source to the target cluster.
0 commit comments