Skip to content

Commit e0f2d7f

Browse files
committed
MIG-717: Update intro for OCP3>4 guide
1 parent 8cdf5c7 commit e0f2d7f

File tree

5 files changed

+47
-18
lines changed

5 files changed

+47
-18
lines changed

migrating_from_ocp_3_to_4/about-migrating-from-3-to-4.adoc

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,31 @@ include::modules/common-attributes.adoc[]
55

66
toc::[]
77

8-
{product-title} 4 includes new technologies and functionality that results in a cluster that is self-managing, flexible, and automated. The way that {product-title} 4 clusters are deployed and managed drastically differs from {product-title} 3.
8+
{product-title} 4 contains new technologies and functionality that result in a cluster that is self-managing, flexible, and automated. {product-title} 4 clusters are deployed and managed very differently from {product-title} 3.
99

10-
To successfully transition from {product-title} 3 to {product-title} 4, it is important that you review the following information:
10+
The most effective way to migrate from {product-title} 3 to 4 is by using a CI/CD pipeline to automate deployments in an link:https://www.redhat.com/en/topics/devops/what-is-application-lifecycle-management-alm[application lifecycle management] framework.
11+
12+
If you do not have a CI/CD pipeline or if you are migrating stateful applications, you can use the {mtc-full} ({mtc-short}) to migrate your application workloads.
13+
14+
To successfully transition to {product-title} 4, review the following information:
1115

1216
xref:../migrating_from_ocp_3_to_4/planning-migration-3-4.adoc#planning-migration-3-4[Differences between {product-title} 3 and 4]::
13-
Learn about the differences between {product-title} versions 3 and 4. Prior to transitioning, be sure that you have reviewed and prepared for storage, networking, logging, security, and monitoring considerations.
17+
* Architecture
18+
* Installation and upgrade
19+
* Storage, network, logging, security, and monitoring considerations
1420

1521
xref:../migrating_from_ocp_3_to_4/about-mtc-3-4.adoc#about-mtc-3-4[About the {mtc-full}]::
16-
Learn about the {mtc-full} ({mtc-short}) to migrate your application workloads.
22+
* Workflow
23+
* File system and snapshot copy methods for persistent volumes (PVs)
24+
* Direct volume migration
25+
* Direct image migration
26+
27+
xref:../migrating_from_ocp_3_to_4/advanced-migration-options-3-4.adoc#advanced-migration-options-3-4[Advanced migration options]::
28+
* Automating your migration with migration hooks
29+
* Using the {mtc-short} API
30+
* Excluding resources from a migration plan
31+
* Configuring the `MigrationController` custom resource for large-scale migrations
32+
* Enabling automatic PV resizing for direct volume migration
33+
* Enabling cached Kubernetes clients for improved performance
1734

18-
For new features, enhancements, and known issues, see the xref:../migration-toolkit-for-containers/mtc-release-notes.adoc#mtc-release-notes[{mtc-short} release notes].
35+
For new features and enhancements, technical changes, and known issues, see the xref:../migration-toolkit-for-containers/mtc-release-notes.adoc#mtc-release-notes[{mtc-short} release notes].

migrating_from_ocp_3_to_4/planning-migration-3-4.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ endif::[]
1313

1414
It is not possible to upgrade your existing {product-title} 3 cluster to {product-title} 4. You must start with a new {product-title} 4 installation. Tools are available to assist in migrating your control plane settings and application workloads.
1515

16+
[id="migration-differences-architecture"]
17+
== Architecture
18+
1619
With {product-title} 3, administrators individually deployed {op-system-base-full} hosts, and then installed {product-title} on top of these hosts to form a cluster. Administrators were responsible for properly configuring these hosts and performing updates.
1720

1821
{product-title} 4 represents a significant change in the way that {product-title} clusters are deployed and managed. {product-title} 4 includes new technologies and functionality, such as Operators, machine sets, and {op-system-first}, which are core to the operation of the cluster. This technology shift enables clusters to self-manage some functions previously performed by administrators. This also ensures platform stability and consistency, and simplifies installation and scaling.
1922

2023
For more information, see xref:../architecture/architecture.adoc#architecture[OpenShift Container Platform architecture].
2124

22-
[id="migration-differences-architecture"]
23-
== Architecture differences
24-
2525
[discrete]
2626
=== Immutable infrastructure
2727

@@ -39,7 +39,7 @@ Operators are a method of packaging, deploying, and managing a Kubernetes applic
3939
For more information, see xref:../operators/understanding/olm-what-operators-are.adoc#olm-what-operators-are[Understanding Operators].
4040

4141
[id="migration-differences-install"]
42-
== Installation and update differences
42+
== Installation and upgrade
4343

4444
[discrete]
4545
=== Installation process

migration-toolkit-for-containers/about-mtc.adoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,15 @@ The {mtc-full} ({mtc-short}) enables you to migrate stateful application workloa
1111

1212
The {mtc-short} console is installed on the target cluster by default. You can configure the {mtc-full} Operator to install the console on a link:https://access.redhat.com/articles/5064151[remote cluster].
1313

14-
{mtc-short} supports the file system and snapshot data copy methods for migrating data from the source cluster to the target cluster. You can select a method that is suited for your environment and is supported by your storage provider.
14+
[id="additional-resources-_{context}"]
15+
[discrete]
16+
== Additional resources
17+
18+
* xref:../migration-toolkit-for-containers/advanced-migration-options-mtc.adoc#advanced-migration-options-mtc[Advanced migration options]
19+
+
20+
Automate your migration with migration hooks and the {mtc-short} API.
21+
+
22+
Configure your migration plan to exclude resources, support large-scale migrations, and enable automatic PV resizing for direct volume migration.
1523

1624
[id="additional-resources_{context}"]
1725
[discrete]

modules/migration-mtc-workflow.adoc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,21 @@
66
[id="migration-mtc-workflow_{context}"]
77
= {mtc-full} workflow
88

9-
You use the {mtc-full} ({mtc-short}) to migrate Kubernetes resources, persistent volume data, and internal container images from an {product-title} source cluster to an {product-title} {product-version} target cluster by using the {mtc-short} web console or the Kubernetes API.
9+
You use the {mtc-full} ({mtc-short}) to migrate Kubernetes resources, persistent volume data, and internal container images from to {product-title} {product-version} by using the {mtc-short} web console or the Kubernetes API.
1010

11-
The ({mtc-short}) migrates the following resources:
11+
{mtc-short} migrates the following resources:
1212

1313
* A namespace specified in a migration plan.
14-
1514
* Namespace-scoped resources: When the {mtc-short} migrates a namespace, it migrates all the objects and resources associated with that namespace, such as services or pods. Additionally, if a resource that exists in the namespace but not at the cluster level depends on a resource that exists at the cluster level, the {mtc-short} migrates both resources.
1615
+
1716
For example, a security context constraint (SCC) is a resource that exists at the cluster level and a service account (SA) is a resource that exists at the namespace level. If an SA exists in a namespace that the {mtc-short} migrates, the {mtc-short} automatically locates any SCCs that are linked to the SA and also migrates those SCCs. Similarly, the {mtc-short} migrates persistent volume claims that are linked to the persistent volumes of the namespace.
17+
+
18+
[NOTE]
19+
====
20+
Cluster-scoped resources might have to be migrated manually, depending on the resource.
21+
====
1822

19-
* Custom resources (CRs) and custom resource definitions (CRDs): The {mtc-short} automatically migrates any CRs that exist at the namespace level as well as the CRDs that are linked to those CRs.
23+
* Custom resources (CRs) and custom resource definitions (CRDs): {mtc-short} automatically migrates CRs and CRDs at the namespace level.
2024

2125
Migrating an application with the {mtc-short} web console involves the following steps:
2226

@@ -26,7 +30,7 @@ You can install the {mtc-full} Operator in a restricted environment with limited
2630

2731
. Configure the replication repository, an intermediate object storage that {mtc-short} uses to migrate data.
2832
+
29-
The source and target clusters must have network access to the replication repository during migration. In a restricted environment, you can use an internally hosted S3 storage repository. If you are using a proxy server, you must configure it to allow network traffic between the replication repository and the clusters.
33+
The source and target clusters must have network access to the replication repository during migration. In a restricted environment, you can use Multi-Cloud Object Gateway (MCG). If you are using a proxy server, you must configure it to allow network traffic between the replication repository and the clusters.
3034

3135
. Add the source cluster to the {mtc-short} web console.
3236
. Add the replication repository to the {mtc-short} web console.
@@ -54,7 +58,7 @@ image::migration-PV-move.png[]
5458

5559
* *Stage* (optional) copies data to the target cluster without stopping the application.
5660
+
57-
Staging can be run multiple times so that most of the data is copied to the target before migration. This minimizes the duration of the migration and application downtime.
61+
Staging can be run multiple times so that most of the data is copied to the target before migration. This minimizes the duration of the migration and the application downtime.
5862

5963
* *Migrate* stops the application on the source cluster and recreates its resources on the target cluster. Optionally, you can migrate the workload without stopping the application.
6064

modules/migration-understanding-data-copy-methods.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ a|* Cloud provider must support snapshots.
4545
* Does not support direct volume migration.
4646
|===
4747

48-
[id="direct-migration_{context}"]
49-
== Direct volume migration and direct image migration
48+
[id="direct-volume-migration-and-direct-image-migration_{context}"]
49+
= Direct volume migration and direct image migration
5050

5151
You can use direct image migration (DIM) and direct volume migration (DVM) to migrate images and data directly from the source cluster to the target cluster.
5252

0 commit comments

Comments
 (0)