mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
48 lines
2.2 KiB
Plaintext
48 lines
2.2 KiB
Plaintext
// Module included in the following assemblies:
|
|
// * migration/migrating_3_4/upgrading-migration-tool-3-4.adoc
|
|
// * migration/migrating_4_1_4/upgrading-migration-tool-4-1-4.adoc
|
|
// * migration/migrating_4_2_4/upgrading-migration-tool-4-2-4.adoc
|
|
|
|
[id='migration-upgrading-migration-tool-4_{context}']
|
|
= Upgrading the {mtc-full} Operator on an {product-title} 4 cluster
|
|
|
|
ifeval::["{mtc-version}" > "1.3"]
|
|
You can upgrade the {mtc-full} ({mtc-short}) Operator on an {product-title} 4 cluster with the Operator Lifecycle Manager.
|
|
|
|
If you selected the *Automatic* approval option when you installed the {mtc-full} Operator, the Operator is updated automatically.
|
|
|
|
The following procedure enables you to change the *Manual* approval option to *Automatic* or to change the release channel.
|
|
|
|
.Procedure
|
|
|
|
. In the {product-title} console, navigate to *Operators* > *Installed Operators*.
|
|
. Click *{mtc-full} Operator*.
|
|
. In the *Subscription* tab, change the *Approval* option to *Automatic*.
|
|
. Optional: Edit the *Channel*.
|
|
+
|
|
Updating the subscription deploys the updated {mtc-full} Operator and updates the {mtc-short} components.
|
|
endif::[]
|
|
ifeval::["{mtc-version}" <= "1.3"]
|
|
You can upgrade to {mtc-full} ({mtc-short}) {mtc-version} on an {product-title} 4 cluster by deleting the `MigrationController` custom resource (CR), uninstalling the CAM Operator, and then installing the {mtc-full} Operator.
|
|
|
|
.Procedure
|
|
|
|
. Delete the `MigrationController` CR:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete migrationcontroller -n openshift-migration migration-controller
|
|
----
|
|
|
|
. In the {product-title} console, navigate to *Operators* > *Installed Operators*.
|
|
. Click *CAM Operator*.
|
|
. On the right side of the *Operator Details* page, select *Uninstall Operator* from the *Actions* list.
|
|
. Select *Uninstall*. This Operator stops running and no longer receives updates.
|
|
. Navigate to *Operators* -> *OperatorHub*.
|
|
. Use the *Filter by keyword* field to find the *{mtc-full} Operator*.
|
|
. Select the *{mtc-full} Operator* and click *Install*.
|
|
. On the *Install Operator* page, click *Install*.
|
|
+
|
|
On the *Installed Operators* page, verify that the *{mtc-full} Operator* appears in the *openshift-migration* project with the status *Succeeded*.
|
|
endif::[]
|