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: asciidoc/day2/migration.adoc
+37-23Lines changed: 37 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ifdef::env-github[]
12
12
endif::[]
13
13
:toc: preamble
14
14
15
-
This section offers migration guidelines for existing `Edge 3.0`*management* and *downstream* clusters to `Edge 3.1.0`.
15
+
This section offers migration guidelines for existing `Edge 3.0`(including minor releases such as 3.0.1 and 3.0.2) *management* and *downstream* clusters to `Edge 3.1.0`.
16
16
17
17
For a list of `Edge 3.1.0` component versions, refer to the <<release-notes, release notes>>.
18
18
@@ -21,7 +21,7 @@ For a list of `Edge 3.1.0` component versions, refer to the <<release-notes, rel
21
21
22
22
This section covers how to migrate a `management` cluster from `Edge 3.0` to `Edge 3.1.0`.
23
23
24
-
`Management` cluster component should be migrated in the following order:
24
+
`Management` cluster components should be migrated in the following order:
25
25
26
26
. <<day2-migration-mgmt-os, Operating System (OS)>>
27
27
@@ -102,6 +102,11 @@ The `--continue` option is used here in order to reuse the previous snapshot wit
102
102
image::day2-migration-os-migration-prompt.png[]
103
103
+
104
104
Select the `number` that corresponds to `SUSE Linux Micro 6.0 <arch>`.
105
+
+
106
+
[NOTE]
107
+
====
108
+
The `Edge 3.1.0` release supports *only* the `SUSE Linux Micro 6.0` operating system.
109
+
====
105
110
106
111
. After a successful `transactional-update` run, for the changes to take effect on the system you would need to reboot:
107
112
+
@@ -110,7 +115,7 @@ Select the `number` that corresponds to `SUSE Linux Micro 6.0 <arch>`.
110
115
reboot
111
116
----
112
117
113
-
. Validate that the operating system has been migrated to `SUSE Linux Micro 6.0`:
118
+
. After the host has been rebooted, validate that the operating system has been migrated to `SUSE Linux Micro 6.0`:
114
119
+
115
120
[,bash]
116
121
----
@@ -224,7 +229,7 @@ kubectl uncordon <node_name>
224
229
225
230
[NOTE]
226
231
====
227
-
This section assumes you have installed `helm` on your system. For `helm` installation instructions, check link:https://helm.sh/docs/intro/install[here].
232
+
This section assumes you have installed `helm` on your system and you have a valid `kubeconfig` pointing to the desired cluster. For `helm` installation instructions, check link:https://helm.sh/docs/intro/install[here].
228
233
====
229
234
230
235
This section provides guidelines for upgrading the Helm chart components that make up a specific Edge release. It covers the following topics:
From `Edge 3.1.0`, Cluster API (CAPI) controllers on a Metal^3^ management cluster are managed via the `Rancher Turtles` Helm chart.
282
+
From `Edge 3.1.0`, Cluster API (CAPI) controllers on a Metal^3^ management cluster are managed via link:https://turtles.docs.rancher.com[Rancher Turtles].
278
283
279
284
To migrate the CAPI controllers versions to `Edge 3.1.0` compatible versions, install the `Rancher Turtles` chart:
280
285
@@ -402,32 +407,30 @@ As per the link:https://docs.rke2.io/helm#automatically-deploying-manifests-and-
402
407
> "Deleting files out of this directory will not delete the corresponding resources from the cluster."
403
408
====
404
409
405
-
To remove any EIB deployed chart manifests, follow these steps:
410
+
Removing any EIB deployed chart manifests involves the following steps:
406
411
407
-
. Navigate to the RKE2 manifests directory:
412
+
. To ensure disaster recovery, make a backup of each EIB deployed manifest:
408
413
+
409
-
[,bash]
410
-
----
411
-
cd /var/lib/rancher/rke2/server/manifests
412
-
----
413
-
414
-
. Get all EIB deployed manifests:
414
+
[NOTE]
415
+
====
416
+
EIB deployed manifests will have the `"edge.suse.com/source: edge-image-builder"` label.
417
+
====
415
418
+
416
419
[NOTE]
417
420
====
418
-
All EIB deployed manifests will have the `"edge.suse.com/source: edge-image-builder"` label.
421
+
Make sure that the `<backup_location>` that you provide to the below command exists.
@@ -808,17 +811,17 @@ On downstream clusters, the removal of the EIB created chart manifest files is h
808
811
809
812
[WARNING]
810
813
====
811
-
Using the `eib-charts-migration-prep` Fleet from `main` is *not* advised. The fleet should *always* be used from a valid Edge link:https://github.com/suse-edge/fleet-examples/releases[release] tag.
814
+
Using the `eib-charts-migration-prep` Fleet file from the `main` branch is *not* advised. The Fleet file should *always* be used from a valid Edge link:https://github.com/suse-edge/fleet-examples/releases[release] tag.
812
815
====
813
816
814
817
[IMPORTANT]
815
818
====
816
-
This process requires that SUC is already deployed. For installation details, refer to <<components-system-upgrade-controller-install, "Installing the System Upgrade Controller">>.
819
+
This process requires that System Upgrade Controller (SUC) is already deployed. For installation details, refer to <<components-system-upgrade-controller-install, "Installing the System Upgrade Controller">>.
817
820
====
818
821
819
822
Once created, the `eib-charts-migration-prep` Fleet ships a <<components-system-upgrade-controller,SUC>> Plan that contains a script that will do the following:
820
823
821
-
. Determine whether the current node it is running on is an `initializer` node.
824
+
. Determine whether the current node it is running on is an `initializer` node. If it is not, it won't do anything.
822
825
823
826
. If the node is an `initializer`, it will:
824
827
@@ -907,20 +910,31 @@ Make sure that the version of the *fleet-cli* you download matches the version o
907
910
908
911
** For Linux users, the binaries are present as *assets* to each Fleet link:https://github.com/rancher/fleet/releases[release].
. Clone the *suse-edge/fleet-examples* link:https://github.com/suse-edge/fleet-examples/releases[release] that you wish to use the `eib-chart-migration-prep` fleet from:
925
939
+
926
940
[,bash]
@@ -947,7 +961,7 @@ EOF
947
961
+
948
962
For information on how to map to downstream clusters, see link:https://fleet.rancher.io/gitrepo-targets[Mapping to Downstream Clusters].
0 commit comments