|
1 | 1 | :_mod-docs-content-type: ASSEMBLY |
2 | | -include::_attributes/attributes-microshift.adoc[] |
3 | 2 | [id="microshift-update-options"] |
4 | | -= Update options with {product-title} and {op-system-bundle} |
| 3 | += Update options for Red Hat Device Edge |
| 4 | + |
| 5 | +include::_attributes/attributes-microshift.adoc[] |
5 | 6 | :context: microshift-update-options |
6 | 7 |
|
7 | 8 | toc::[] |
8 | 9 |
|
9 | | -Updates are supported on {product-title} beginning with the General Availability version 4.14. |
10 | | - |
11 | | -[id="red-hat-device-edge-updates_{context}"] |
12 | | -== {op-system-bundle} updates |
13 | | -You can update {op-system-ostree-first} images or {op-system-base-full} with or without updating the {product-title} version if the version combination is supported. See the following table for details: |
14 | | - |
15 | | -include::snippets/microshift-rhde-compatibility-table-snip.adoc[leveloffset=+1] |
16 | | - |
17 | | -include::snippets/microshift-unsupported-config-warn.adoc[leveloffset=+1] |
18 | | - |
19 | | -[id="microshift-update-options-standalone-updates_{context}"] |
20 | | -== Standalone {microshift-short} updates |
21 | | -Consider the following when planning to update {microshift-short}: |
22 | | - |
23 | | -* You can potentially update {microshift-short} without reinstalling your applications and Operators. |
24 | | -* {op-system-base} or {op-system-ostree} updates are only required to update {microshift-short} if the existing operating system is not compatible with the new version of {microshift-short} that you want to use. |
25 | | -* {microshift-short} operates as an in-place update and does not require removal of the previous version. Data backups beyond those required for the usual functioning of your applications are also not required. |
26 | | - |
27 | | -[NOTE] |
28 | | -==== |
29 | | -Only `rpm-ostree` updates include automatic rollbacks. |
30 | | -==== |
31 | | - |
32 | | -[id="microshift-update-options-rpm-ostree-updates_{context}"] |
33 | | -=== {op-system-ostree} updates |
34 | | - |
35 | | -Using the {op-system-ostree} `rpm-ostree` update path allows for automated backup and system rollback in case any part of the update fails. |
36 | | - |
37 | | -* You can update {microshift-short} on an `rpm-ostree` system such as {op-system-ostree} by building a new system image containing the new version of {microshift-short}. |
38 | | -* The `rpm-ostree` image can be the same version or an updated version, but the versions of {op-system-ostree} and {microshift-short} must be compatible. |
| 10 | +[role="_abstract"] |
| 11 | +To update {op-system-bundle}, you can update both {product-title} and {op-system-full}, or each part by itself without updating the other. You must keep the parts in a supported configuration. Consider the following options when planning updates to your current deployments. |
39 | 12 |
|
40 | | -The following features are available in the {op-system-ostree} update path: |
| 13 | +include::modules/microshift-rhde-updates.adoc[leveloffset=+1] |
41 | 14 |
|
42 | | -* The system automatically rolls back to a previous healthy system state if the update fails. |
43 | | -* Applications do not need to be reinstalled. |
44 | | -* Operators do not need to be reinstalled. |
45 | | -* You can update an application without updating {microshift-short} using this update type. |
46 | | -* The image you build can contain other updates as needed. |
| 15 | +include::modules/microshift-standalone-updates.adoc[leveloffset=+1] |
47 | 16 |
|
48 | | -To begin a {microshift-short} update by embedding in a {op-system-ostree} image, use the procedures in the following documentation: |
| 17 | +include::modules/microshift-rpm-ostree-updates.adoc[leveloffset=+2] |
49 | 18 |
|
50 | | -* xref:../microshift_updating/microshift-update-rpms-ostree.adoc#microshift-update-rpms-ostree[Applying updates on an OSTree system] |
51 | | - |
52 | | -To understand more about greenboot, see the following documentation: |
53 | | - |
54 | | -* xref:../microshift_install_get_ready/microshift-greenboot.adoc#microshift-greenboot[The greenboot health check] |
55 | | -* xref:../microshift_running_apps/microshift-greenboot-workload-health-checks.adoc#microshift-greenboot-workload-health-checks[Greenboot workload health checks] |
56 | | - |
57 | | -[id="microshift-update-options-manual-rpm-updates_{context}"] |
58 | | -=== Manual RPM updates |
59 | | -You can update {microshift-short} manually on a non-OSTree system such as {op-system-base-full} by updating the RPMs. |
60 | | - |
61 | | -* To complete this update type, use the subscription manager to enable the repository that contains the new RPMs. |
62 | | -* Use manual processes to ensure system health and complete additional system backups. |
63 | | -* To begin a manual RPM update, use the procedures in the following documentation: |
64 | | - |
65 | | -* xref:../microshift_updating/microshift-update-rpms-manually.adoc#microshift-update-rpms-manually[About updating MicroShift RPMs manually] |
| 19 | +include::modules/microshift-manual-rpm-updates.adoc[leveloffset=+2] |
66 | 20 |
|
67 | 21 | include::modules/microshift-updates-rhde-config-rhel-repos.adoc[leveloffset=+3] |
68 | 22 |
|
69 | | -[id="microshift-update-options-standalone-rhel-updates_{context}"] |
70 | | -== Standalone {op-system-ostree} updates |
71 | | -You can update {op-system-ostree} or {op-system-base} without updating {microshift-short}, on the condition that the two versions are compatible. Check compatibilities before beginning an update. Use the {op-system-ostree} documentation specific to your update path. |
| 23 | +include::modules/microshift-standalone-rhel-updates.adoc[leveloffset=+1] |
72 | 24 |
|
73 | | -//additional resources for updating RHEL alone |
74 | | -[role="_additional-resources"] |
75 | | -.Additional resources |
76 | | -* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/composing_installing_and_managing_rhel_for_edge_images/index[Composing, installing, and managing RHEL for Edge images] |
77 | | - |
78 | | -[id="microshift-update-options-simultaneous-microshift-rhel-updates_{context}"] |
79 | | -== Simultaneous {microshift-short} and operating system updates |
80 | | -You can update {op-system-ostree} or {op-system-base} and update {microshift-short} at the same time, on the condition that the versions are compatible. Use the following workflow: |
81 | | - |
82 | | -. Check for compatibility before beginning an update. |
83 | | -. Use the {op-system-ostree} and {op-system-base} documentation specific to your update path to plan and update the operating system. |
84 | | -. Enable the correct {microshift-short} repository to ensure alignment between your {op-system-base} and {microshift-short} versions. |
85 | | -. Use the {microshift-short} update type specific to your update path. |
| 25 | +include::modules/microshift-simultaneous-microshift-rhel-updates.adoc[leveloffset=+1] |
86 | 26 |
|
87 | | -[id="microshift-update-options-edge-to-image_{context}"] |
88 | | -== Migrating {microshift-short} from {op-system-ostree} to {op-system-image} |
| 27 | +include::modules/microshift-migrate-rhel-edge-to-image-mode.adoc[leveloffset=+1] |
89 | 28 |
|
90 | | -Starting with {microshift-short} 4.19, you can migrate your {microshift-short} node from {op-system-ostree} to {op-system-image} if the versions are compatible. Check compatibilities before beginning a migration. See the {op-system-base} documentation for instructions to migrate your image-based {op-system-base} system. |
91 | | -//RHEL docs are coming soon |
92 | | - |
93 | | -//additional resources for updating RHEL and MicroShift |
| 29 | +[id="additional-resources_microshift-update-options"] |
94 | 30 | [role="_additional-resources"] |
95 | | -.Additional resources |
| 31 | +== Additional resources |
| 32 | + |
96 | 33 | * link:https://access.redhat.com/articles/rhel-eus#c5[How to Access EUS] |
97 | 34 | * link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/composing_a_customized_rhel_system_image/index[Composing a customized RHEL system image] |
98 | | -* xref:../microshift_updating/microshift-update-rpms-ostree.adoc#microshift-update-rpms-ostree[Applying updates on an {op-system-ostree} system] |
99 | | -* xref:../microshift_updating/microshift-update-rpms-manually.adoc#microshift-update-rpms-manually[Applying updates manually with RPMs] |
100 | 35 | * xref:../microshift_install_get_ready/microshift-greenboot.adoc#microshift-greenboot[The greenboot system health check] |
101 | 36 | * xref:../microshift_running_apps/microshift-greenboot-workload-health-checks.adoc#microshift-greenboot-workload-health-checks[Greenboot workload health checks] |
102 | | -//* xref:../microshift_updating/microshift-update-rhel-edge-to-image-mode.adoc#microshift-update-rhel-edge-to-image[Migrating {microshift-short} from {op-system-ostree} to {op-system-image}] |
| 37 | + |
0 commit comments