Skip to content

Commit 873218b

Browse files
committed
OSDOCS-11139: updates Updating for MicroShift 4.17
1 parent 213182d commit 873218b

8 files changed

+60
-99
lines changed

_topic_maps/_topic_map_ms.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ Name: Updating
5959
Dir: microshift_updating
6060
Distros: microshift
6161
Topics:
62-
- Name: About updates
63-
File: microshift-about-updates
6462
- Name: Update options
6563
File: microshift-update-options
6664
- Name: Updates with rpm-ostree systems

microshift_updating/microshift-about-updates.adoc

Lines changed: 0 additions & 44 deletions
This file was deleted.

microshift_updating/microshift-update-options.adoc

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,14 @@ include::_attributes/attributes-microshift.adoc[]
66

77
toc::[]
88

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
913
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:
1014

1115
include::snippets/microshift-rhde-compatibility-table-snip.adoc[leveloffset=+1]
1216

13-
include::snippets/microshift-update-paths-snip.adoc[leveloffset=+1]
14-
15-
[IMPORTANT]
16-
====
17-
Updates of {microshift-short} are supported with a maximum of two minor versions. For example, you can update from 4.14 to 4.16 in a single step. Updating 4.14 to 4.15 first is not required.
18-
====
19-
2017
[id="microshift-update-options-standalone-updates_{context}"]
2118
== Standalone {microshift-short} updates
2219
Consider the following when planning to update {microshift-short}:
@@ -25,9 +22,19 @@ Consider the following when planning to update {microshift-short}:
2522
* {op-system} 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.
2623
* {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.
2724

25+
include::snippets/microshift-update-paths-snip.adoc[leveloffset=+1]
26+
27+
[NOTE]
28+
====
29+
Only `rpm-ostree` updates include automatic rollbacks.
30+
====
31+
2832
[id="microshift-update-options-rpm-ostree-updates_{context}"]
2933
=== RPM-OSTree updates
30-
You can update {microshift-short} on an `rpm-ostree` system such as {op-system-ostree} by building a new image containing the new version of {microshift-short}. Ensure that the version of the operating system you want to use is compatible with the new version of {microshift-short} that you update to.
34+
Using the {op-system-ostree} `rpm-ostree` update path allows for automated backup and system rollback in case any part of the update fails.
35+
36+
* 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}.
37+
* 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.
3138

3239
The following features are available in the {op-system-ostree} update path:
3340

@@ -48,10 +55,19 @@ To understand more about Greenboot, see the following documentation:
4855

4956
[id="microshift-update-options-manual-rpm-updates_{context}"]
5057
=== Manual RPM updates
51-
You can update {microshift-short} manually on a non-OSTree system such as {op-system-base-full} by downloading and updating the RPMs. To complete this update type, use the subscription manager to access the repository containing the new RPMs. To begin a manual RPM update, use the procedures in the following documentation:
58+
You can update {microshift-short} manually on a non-OSTree system such as {op-system-base-full} by updating the RPMs.
59+
60+
* To complete this update type, use the subscription manager to enable the repository that contains the new RPMs.
61+
* Use manual processes to ensure system health and complete additional system backups.
62+
* To begin a manual RPM update, use the procedures in the following documentation:
5263

5364
* xref:../microshift_updating/microshift-update-rpms-manually.adoc#microshift-update-rpms-manually[About updating MicroShift RPMs manually]
5465

66+
[WARNING]
67+
====
68+
Keeping versions in a supported configuration of {op-system-bundle} can require updating {microshift-short} and {op-system} at the same time. Ensure that your version of {op-system} is compatible with the version of {microshift-short} you are updating to, especially if you are updating {microshift-short} across two minor versions. Otherwise, you can create an unsupported configuration, break your cluster, or both.
69+
====
70+
5571
[id="microshift-update-options-standalone-rhel-updates_{context}"]
5672
== Standalone {op-system-ostree} updates
5773
You can update {op-system-ostree} or {op-system} 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.
@@ -63,7 +79,12 @@ You can update {op-system-ostree} or {op-system} without updating {microshift-sh
6379

6480
[id="microshift-update-options-simultaneous-microshift-rhel-updates_{context}"]
6581
== Simultaneous {microshift-short} and operating system updates
66-
You can update {op-system-ostree} or {op-system} and update {microshift-short} at the same time, on the condition that the versions are compatible. Check for compatibility before beginning an update. First use the {op-system-ostree} and {op-system} documentation specific to your update path to plan and update the operating system. Then use the {microshift-short} update type specific to your update path.
82+
You can update {op-system-ostree} or {op-system} and update {microshift-short} at the same time, on the condition that the versions are compatible. Use the following workflow:
83+
84+
. Check for compatibility before beginning an update.
85+
. Use the {op-system-ostree} and {op-system} documentation specific to your update path to plan and update the operating system.
86+
. Enable the correct {microshift-short} repository to ensure alignment between your {op-system} and {microshift-short} versions.
87+
. Use the {microshift-short} update type specific to your update path.
6788

6889
//additional resources for updating RHEL and MicroShift
6990
[role="_additional-resources"]

microshift_updating/microshift-update-rpms-manually.adoc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ include::_attributes/attributes-microshift.adoc[]
66

77
toc::[]
88

9-
Updating {product-title} for non-OSTree systems such as {op-system-base-full} requires downloading then updating the RPMs. For patch releases, such as 4.17.1 to 4.17.2, download and update the RPMs. For minor-version release updates, add the step of enabling the update repository using your subscription manager.
10-
11-
[IMPORTANT]
12-
====
13-
{microshift-short} updates are supported with a maximum of two minor versions. For example, you can update to 4.16 from 4.14 in a single step. Updating 4.14 to 4.15 first is not required.
14-
====
9+
Updating {product-title} for non-OSTree systems such as {op-system-base-full} requires updating the RPMs. For patch releases, such as 4.17.1 to 4.17.2, simply update the RPMs. For minor-version release updates, add the step of enabling the update repository using your subscription manager.
1510

1611
[NOTE]
1712
====

microshift_updating/microshift-update-rpms-ostree.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ toc::[]
88

99
Updating {microshift-short} on an `rpm-ostree` system such as {op-system-ostree-first} requires building a new {op-system-ostree} image containing the new version of {microshift-short} and any associated optional RPMs. After you have the `rpm-ostree` image with {microshift-short} embedded, direct your system to boot into that operating system image.
1010

11-
The procedures are the same for minor-version and patch updates. For example, use the same steps to upgrade from 4.16 to 4.17 or from 4.17.0 to 4.17.1.
12-
13-
include::snippets/microshift-rhde-compatibility-table-snip.adoc[leveloffset=+1]
11+
The procedures are the same for minor-version and patch updates. For example, use the same steps to upgrade from 4.16 to 4.17 or from 4.17.2 to 4.17.3.
1412

1513
[NOTE]
1614
====
17-
Downgrades are not supported. The following procedure is for upgrades only.
15+
Downgrades other than automatic rollbacks are not supported. The following procedure is for updates only.
1816
====
1917

2018
include::modules/microshift-updating-rpms-ostree.adoc[leveloffset=+1]

modules/microshift-updating-rpms-ostree.adoc

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="microshift-updates-rpms-ostree_{context}"]
7-
= Applying updates on an OSTree system
7+
= Applying updates on an rpm-ostree system
88

9-
To update {microshift-short} on an `rpm-ostree` system such as {op-system-ostree-first}, embed the new version of {microshift-short} on a new operating system image. The steps you use depends on how your existing deployment is set up. The following procedure outlines the general steps you can take, with links to the {op-system-ostree} documentation. The {op-system-ostree} documentation is your resource for specific details on building an updated operating system image. Back up and system rollback are automatic with this update type.
9+
To update {microshift-short} on an `rpm-ostree` system such as {op-system-ostree-first}, embed the new version of {microshift-short} on a new operating system image.
1010

11-
[NOTE]
11+
* Back up and system rollback are automatic with this update type.
12+
* You can also use this workflow to update applications running in the {microshift-short} cluster. Ensure compatibility between the application and the adjacent versions of {microshift-short} and {op-system-ostree} before starting an update.
13+
14+
[IMPORTANT]
1215
====
13-
You can also use this workflow to update applications running in the {microshift-short} cluster. Ensure compatibility between the application and the adjacent versions of {microshift-short} and {op-system-ostree} before starting an update.
16+
The steps you use depends on how your existing deployment is set up. The following procedure outlines the general steps you can take, with links to the {op-system-ostree} documentation. The {op-system-ostree} documentation is your resource for specific details on building an updated operating system image.
1417
====
1518

1619
.Prerequisites
@@ -19,9 +22,9 @@ You can also use this workflow to update applications running in the {microshift
1922
* You have root user access to the host.
2023
* The version of {microshift-short} you have is compatible with the {op-system-ostree} image you are preparing to use.
2124
22-
[NOTE]
25+
[IMPORTANT]
2326
====
24-
You cannot downgrade {microshift-short} with this process. Downgrades are not supported.
27+
You cannot downgrade {microshift-short} with this process. Downgrades other than automatic rollbacks are not supported.
2528
====
2629

2730
.Procedure

snippets/microshift-rhde-compatibility-table-snip.adoc

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,32 @@
77

88
.{op-system-bundle} release compatibility matrix
99

10-
{op-system-base-full} and {microshift-short} work together as a single solution for device-edge computing. You can update each component separately, but the product versions must be compatible. For example, an update of {microshift-short} from 4.14 to 4.16 requires a {op-system} update. Supported configurations of {op-system-bundle} use verified releases for each together as listed in the following table:
10+
{op-system-base-full} and {microshift-short} work together as a single solution for device-edge computing. You can update each component separately, but the product versions must be compatible. Supported configurations of {op-system-bundle} use verified releases for each together as listed in the following table:
1111

12-
[cols="4",%autowidth]
12+
[cols="4",cols="~,~,~,20h"]
1313
|===
14-
^|*{op-system-ostree} Version(s)*
14+
^|*{op-system} Version(s)*
1515
^|*{microshift-short} Version*
1616
^|*{microshift-short} Release Status*
17-
^|*Supported {microshift-short} Version→{microshift-short} Version Updates*
17+
^|*Supported {microshift-short} Version{nbsp}→{nbsp}Version Updates*
1818

1919
^|9.4
2020
^|4.17
2121
^|Generally Available
22-
^|4.17.0→4.17.z and 4.16→4.17
22+
^|4.17.0{nbsp}→{nbsp}4.17.z
2323

2424
^|9.4
2525
^|4.16
2626
^|Generally Available
27-
^|4.16.0→4.16.z, 4.14→4.16, 4.15→4.16 and 4.16→4.17
27+
^|4.16.0{nbsp}→{nbsp}4.16.z, 4.16{nbsp}→{nbsp}4.17
2828

2929
^|9.2, 9.3
3030
^|4.15
3131
^|Generally Available
32-
^|4.15.0→4.15.z, 4.14→4.15 and 4.15→4.16
32+
^|4.15.0{nbsp}→{nbsp}4.15.z, 4.15{nbsp}→{nbsp}4.16, 4.15{nbsp}→{nbsp}4.17
3333

3434
^|9.2, 9.3
3535
^|4.14
3636
^|Generally Available
37-
^|4.14.0→4.14.z, 4.14→4.15 and 4.14→4.16
38-
39-
^|9.2
40-
^|4.13
41-
^|Technology Preview
42-
^|None
43-
44-
^|8.7
45-
^|4.12
46-
^|Developer Preview
47-
^|None
37+
^|4.14.0{nbsp}→{nbsp}4.14.z, 4.14{nbsp}→{nbsp}4.15, 4.14{nbsp}→{nbsp}4.16
4838
|===

snippets/microshift-update-paths-snip.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@
66
:_mod-docs-content-type: SNIPPET
77

88
[id="microshift-about-updates-checking-version-update-path_{context}"]
9-
= Checking version update path
9+
= Checking the {microshift-short} version update path
1010

1111
Before updating {microshift-short} or {op-system}, determine the compatibilities. Plan for the versions of each that you intend to use.
1212

1313
*{product-title} update paths*
1414

1515
{microshift-short} version 4.17::
16-
* Version 4.17 to 4.17.z on {op-system} or {op-system-ostree} 9.4
16+
* Version 4.17{nbsp}→{nbsp}4.17.z on {op-system} 9.4
1717

1818
{microshift-short} version 4.16::
19-
* Version 4.16 on {op-system} or {op-system-ostree} 9.4 to 4.17 on {op-system} or {op-system-ostree} 9.4
20-
* Version 4.16 to 4.16.z on {op-system} or {op-system-ostree} 9.4
19+
* Version 4.16{nbsp}→{nbsp}4.17 on {op-system} 9.4
20+
* Version 4.16{nbsp}→{nbsp}4.16.z on {op-system} 9.4
2121

2222
{microshift-short} version 4.15::
23-
* Version 4.15 on {op-system} or {op-system-ostree} 9.2 or 9.3 to 4.16 on {op-system} or {op-system-ostree} 9.4
24-
* Version 4.15 to 4.15.z on {op-system} or {op-system-ostree} 9.2 or 9.3
23+
* Version 4.15 on {op-system} 9.2 or 9.3{nbsp}→{nbsp}4.16 on {op-system} 9.4
24+
* Version 4.15{nbsp}→{nbsp}4.15.z on {op-system} 9.2 or 9.3
2525

2626
{microshift-short} version 4.14::
27-
* Version 4.14 on {op-system} or {op-system-ostree} 9.2 or 9.3 to 4.16 on {op-system} or {op-system-ostree} 9.4
28-
* Version 4.14 to 4.15 on {op-system} or {op-system-ostree} 9.2 or 9.3
29-
* Version 4.14 to 4.14.z on {op-system} or {op-system-ostree} 9.2 or 9.3
27+
* Version 4.14 on {op-system} 9.2 or 9.3{nbsp}→{nbsp}4.16 on {op-system} 9.4
28+
* Version 4.14{nbsp}→{nbsp}4.15 on {op-system} 9.2 or 9.3
29+
* Version 4.14{nbsp}→{nbsp}4.14.z on {op-system} 9.2 or 9.3

0 commit comments

Comments
 (0)