Skip to content

Commit f42d0ff

Browse files
committed
OTA-472: Reorganizing and adding a channel management chapter
1 parent 3d01e94 commit f42d0ff

26 files changed

+107
-134
lines changed

_javascripts/page-loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ function selectVersion(currentVersion) {
157157

158158
// main file to edit is the file path after the version to the html at
159159
// the end.
160-
// Example: https://docs.openshift.com/container-platform/4.4/updating/updating-cluster-between-minor.html
161-
// file path is updating/updating-cluster-between-minor.adoc
160+
// Example: https://docs.openshift.com/container-platform/4.4/updating/updating-cluster-within-minor.html
161+
// file path is updating/updating-cluster-within-minor.adoc
162162

163163
mainFileToEdit =
164164
window.location.pathname.substring(

_topic_maps/_topic_map.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -432,11 +432,11 @@ Topics:
432432
File: understanding-the-update-service
433433
- Name: Installing and configuring the OpenShift Update Service
434434
File: installing-update-service
435-
- Name: Updating a cluster between minor versions
436-
File: updating-cluster-between-minor
437-
- Name: Updating a cluster within a minor version from the web console
438-
File: updating-cluster
439-
- Name: Updating a cluster within a minor version by using the CLI
435+
- Name: Understanding upgrade channels
436+
File: understanding-upgrade-channels-release
437+
- Name: Updating a cluster within a minor version using the web console
438+
File: updating-cluster-within-minor
439+
- Name: Updating a cluster within a minor version using the CLI
440440
File: updating-cluster-cli
441441
- Name: Performing update using canary rollout strategy
442442
File: update-using-custom-machine-config-pools

installing/installing_bare_metal_ipi/ipi-install-installation-workflow.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ include::modules/ipi-install-verifying-static-ip-address-configuration.adoc[leve
3737

3838
.Additional resources
3939

40-
* See xref:../../updating/updating-cluster-between-minor.adoc#understanding-upgrade-channels_updating-cluster-between-minor[{product-title} upgrade channels and releases] for an explanation of the different release channels.
40+
* See xref:../../updating/understanding-upgrade-channels-release.adoc#understanding-upgrade-channels_understanding-upgrade-channels-releases[{product-title} upgrade channels and releases] for an explanation of the different release channels.

installing/validating-an-installation.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ include::modules/getting-cluster-version-status-and-update-details.adoc[leveloff
2222

2323
* See xref:../support/troubleshooting/troubleshooting-operator-issues.adoc#troubleshooting-operator-issues[Troubleshooting Operator issues] for information about investigating issues with Operators.
2424

25-
* See xref:../updating/updating-cluster-between-minor.adoc#updating-cluster-between-minor[Updating a cluster between minor versions] for more information on updating your cluster.
25+
* See xref:../updating/updating-cluster-within-minor.adoc#updating-cluster-within-minor[Updating a cluster between minor versions] for more information on updating your cluster.
2626

27-
* See xref:../updating/updating-cluster-between-minor.adoc#understanding-upgrade-channels_updating-cluster-between-minor[OpenShift Container Platform upgrade channels and releases] for an overview about upgrade release channels.
27+
* See xref:../updating/understanding-upgrade-channels-release.adoc#understanding-upgrade-channels_understanding-upgrade-channels-releases[OpenShift Container Platform upgrade channels and releases] for an overview about upgrade release channels.
2828

2929
//Querying the status of the cluster nodes by using the CLI
3030
include::modules/querying-the-status-of-cluster-nodes-using-the-cli.adoc[leveloffset=+1]

migrating_from_ocp_3_to_4/planning-migration-3-4.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ For more information, see xref:../architecture/architecture-installation.adoc#in
6666

6767
In {product-title} 3.11, you upgraded your cluster by running Ansible playbooks. In {product-title} {product-version}, the cluster manages its own updates, including updates to {op-system-first} on cluster nodes. You can easily upgrade your cluster by using the web console or by using the `oc adm upgrade` command from the OpenShift CLI and the Operators will automatically upgrade themselves. If your {product-title} {product-version} cluster has {op-system-base} worker machines, then you will still need to run an Ansible playbook to upgrade those worker machines.
6868

69-
For more information, see xref:../updating/updating-cluster-between-minor.adoc#updating-cluster-between-minor[Updating clusters].
69+
For more information, see xref:../updating/updating-cluster-within-minor.adoc#updating-cluster-within-minor[Updating clusters].
7070

7171
[id="migration-considerations"]
7272
== Migration considerations

modules/machine-health-checks-pausing.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Module included in the following assemblies:
22

33
// * updating/updating-cluster-cli.adoc
4-
// * updating/updating-cluster-between-minor.adoc
4+
// * updating/updating-cluster-within-minor.adoc
55
// * updating/updating-restricted-network-cluster.adoc
66

77
[id="machine-health-checks-pausing_{context}"]
@@ -66,4 +66,3 @@ Resume the machine health checks after updating the cluster. To resume the check
6666
$ oc -n openshift-machine-api annotate mhc <mhc-name> cluster.x-k8s.io/paused-
6767
----
6868
====
69-

modules/understanding-upgrade-channels.adoc

Lines changed: 19 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,17 @@
11
// Module included in the following assemblies:
22
//
3-
// * updating/updating-cluster.adoc
4-
// * updating/updating-cluster-between-minor.adoc
3+
// * updating/updating-cluster-within-minor.adoc
54
// * updating/updating-cluster-cli.adoc
65
// * updating/updating-cluster-rhel-compute.adoc
76
// * updating/updating-disconnected-cluster.adoc
87

98
[id="understanding-upgrade-channels_{context}"]
10-
= {product-title} upgrade channels and releases
119

12-
In {product-title} 4.1, Red Hat introduced the concept of channels for recommending the appropriate release versions for cluster upgrades. By controlling the pace of upgrades, these upgrade channels allow you to choose an upgrade strategy. Upgrade channels are tied to a minor version of {product-title}. For instance, {product-title} 4.9 upgrade channels recommend upgrades to 4.9 and upgrades within 4.9. They also recommend upgrades within 4.8 and from 4.8 to 4.9, to allow clusters on 4.8 to eventually upgrade to 4.9. They do not recommend upgrades to 4.10 or later releases. This strategy ensures that administrators explicitly decide to upgrade to the next minor version of {product-title}.
10+
= Upgrade channels and release paths
11+
Cluster administrators can configure the upgrade channel from the web console.
1312

14-
Upgrade channels control only release selection and do not impact the version of the cluster that you install; the `openshift-install` binary file for a specific version of {product-title} always installs that version.
1513

16-
ifndef::openshift-origin[]
17-
{product-title} {product-version} offers the following upgrade channels:
18-
19-
* `candidate-{product-version}`
20-
* `fast-{product-version}`
21-
* `stable-{product-version}`
22-
* `eus-4.y` (only when running an even-numbered 4.y cluster release, like 4.10)
23-
24-
If you do not want the Cluster Version Operator to fetch available updates from the upgrade recommendation service, you can use the `oc adm upgrade channel` command in the OpenShift CLI to configure an empty channel. This configuration can be helpful if, for example, a cluster has restricted network access and there is no local, reachable upgrade recommendation service.
25-
26-
endif::openshift-origin[]
27-
ifdef::openshift-origin[]
28-
{product-title} {product-version} offers the following upgrade channel:
29-
30-
* `stable-4`
31-
32-
endif::openshift-origin[]
33-
34-
ifndef::openshift-origin[]
35-
[discrete]
14+
[id="candidate-version-channel_{context}"]
3615
== candidate-{product-version} channel
3716

3817
The `candidate-{product-version}` channel contains candidate builds for a z-stream ({product-version}.z) and previous minor version releases. Release candidates contain all the features of the product but are not supported. Use release candidate versions to test feature acceptance and assist in qualifying the next version of {product-title}. A release candidate is any build that is available in the candidate channel, including ones that do not contain link:https://semver.org/spec/v2.0.0.html#spec-item-9[a pre-release version] such as `-rc` in their names. After a version is available in the candidate channel, it goes through more quality checks. If it meets the quality standard, it is promoted to the `fast-{product-version}` or `stable-{product-version}` channels. Because of this strategy, if a specific release is available in both the `candidate-{product-version}` channel and in the `fast-{product-version}` or `stable-{product-version}` channels, it is a Red Hat-supported version. The `candidate-{product-version}` channel can include release versions from which there are no recommended updates in any channel.
@@ -51,43 +30,45 @@ endif::[]
5130
for more build information.
5231
====
5332

54-
[discrete]
33+
[id="fast-version-channel_{context}"]
5534
== fast-{product-version} channel
5635

5736
The `fast-{product-version}` channel is updated with new and previous minor versions of {product-version} as soon as Red Hat declares the given version as a general availability release. As such, these releases are fully supported, are production quality, and have performed well while available as a release candidate in the `candidate-{product-version}` channel from where they were promoted. Some time after a release appears in the `fast-{product-version}` channel, it is added to the `stable-{product-version}` channel. Releases never appear in the `stable-{product-version}` channel before they appear in the `fast-{product-version}` channel.
5837

5938
You can use the `fast-{product-version}` channel to upgrade from a previous minor version of {product-title}.
60-
endif::openshift-origin[]
6139

6240
ifndef::openshift-origin[]
63-
[discrete]
41+
42+
[id="stable-version-channel_{context}"]
6443
== stable-{product-version} channel
6544
While the `fast-{product-version}` channel contains releases as soon as their errata are published, releases are added to the `stable-{product-version}` channel after a delay. During this delay, data is collected from Red Hat SRE teams, Red Hat support services, and pre-production and production environments that participate in connected customer program about the stability of the release.
6645

6746
You can use the `stable-{product-version}` channel to upgrade from a previous minor version of {product-title}.
6847
endif::openshift-origin[]
6948
ifdef::openshift-origin[]
70-
[discrete]
49+
50+
[id="stable-4-channel_{context}"]
7151
== stable-4 channel
7252
Releases are added to the `stable-4` channel after passing all tests.
7353

7454
You can use the `stable-4` channel to upgrade from a previous minor version of {product-title}.
7555
endif::openshift-origin[]
7656

7757
ifndef::openshift-origin[]
78-
[discrete]
58+
59+
[id="eus-4y-channel_{context}"]
7960
== eus-4.y channel
8061

8162
In addition to the stable channel, all even-numbered minor versions of {product-title} offer an link:https://access.redhat.com/support/policy/updates/openshift#ocp4_phases[Extended Update Support] (EUS). These EUS versions extend the Full and Maintenance support phases for customers with Standard and Premium Subscriptions to 18 months.
8263

83-
Although there is no difference between `stable-4.y` and `eus-4.y` channels until {product-title} 4.y transitions to the EUS phase, you can switch to the `eus-4.y` channel as soon as it becomes available.
64+
Although there is no difference between `stable-4.y` and `eus-4.y` channels until {product-title} 4.y transitions to the EUS phase, you can switch to the `eus-4.y` channel as soon as it becomes available.
8465

8566
When upgrades to the next EUS channel are offered, you can switch to the next EUS channel and upgrade until you have reached the next EUS version.
8667

8768
This upgrade process does not apply for the `eus-4.6` channel.
8869
endif::openshift-origin[]
8970

90-
[discrete]
71+
[id="upgrade-version-paths_{context}"]
9172
== Upgrade version paths
9273

9374
{product-title} maintains an upgrade recommendation service that understands the version of {product-title} you have installed as well as the path to take within the channel you choose to get you to the next release.
@@ -117,25 +98,28 @@ The presence of an update recommendation in the `stable-4` channel at any point
11798
endif::openshift-origin[]
11899

119100
ifndef::openshift-origin[]
120-
[discrete]
101+
102+
[id="fast-stable-channel-strategies_{context}"]
121103
== Fast and stable channel use and strategies
122104

123105
The `fast-{product-version}` and `stable-{product-version}` channels present a choice between receiving general availability releases as soon as they are available or allowing Red Hat to control the rollout of those updates. If issues are detected during rollout or at a later time, upgrades to that version might be blocked in both the `fast-{product-version}` and `stable-{product-version}` channels, and a new version might be introduced that becomes the new preferred upgrade target.
124106

125107
Customers can improve this process by configuring pre-production systems on the `fast-{product-version}` channel, configuring production systems on the `stable-{product-version}` channel, and participating in the Red Hat connected customer program. Red Hat uses this program to observe the impact of updates on your specific hardware and software configurations. Future releases might improve or alter the pace at which updates move from the `fast-{product-version}` to the `stable-{product-version}` channel.
126108
endif::openshift-origin[]
127109

128-
[discrete]
110+
[id="restricted-network-clusters_{context}"]
129111
== Restricted network clusters
130112

131113
If you manage the container images for your {product-title} clusters yourself, you must consult the Red Hat errata that is associated with product releases and note any comments that impact upgrades. During upgrade, the user interface might warn you about switching between these versions, so you must ensure that you selected an appropriate version before you bypass those warnings.
132114

133115
ifndef::openshift-origin[]
134-
[discrete]
116+
117+
[id="switching-between-channels_{context}"]
135118
== Switching between channels
136119

137120
A channel can be switched from the web console or through the `adm upgrade channel` command:
138121

122+
[source,terminal]
139123
----
140124
$ oc adm upgrade channel clusterversion version --type json -p '[{"op": "add", "path": "/spec/channel", "value": "<channel>”}]'
141125
----

modules/unmanaged-operators.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Module included in the following assemblies:
22
//
33
// * architecture/architecture-installation.adoc
4-
// * updating/updating-cluster-between-minor.adoc
4+
// * updating/updating-cluster-within-minor.adoc
55

66
[id="unmanaged-operators_{context}"]
77
= Support policy for unmanaged Operators

modules/update-changing-update-server-web.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * updating/updating-cluster.adoc
3+
// * updating/updating-cluster-within-minor.adoc
44

55
[id="update-changing-update-server-web_{context}"]
66
= Changing the update server by using the web console

modules/update-service-overview.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
//
33
// * architecture/architecture-installation.adoc
44
// * architecture/control-plane.adoc
5-
// * updating/updating-cluster-between-minor.adoc
5+
// * updating/updating-cluster-within-minor.adoc
66
// * updating/updating-cluster-cli.adoc
77
// * updating/updating-cluster-rhel-compute.adoc
8-
// * updating/updating-cluster.adoc
98
// * updating/updating-disconnected-cluster.adoc
109

1110
[id="update-service-overview_{context}"]
@@ -44,4 +43,3 @@ If you use {op-system-base-full} machines as workers, the MCO does not update th
4443
With the specification for the new version applied to the old kubelet, the {op-system-base} machine cannot return to the `Ready` state. You cannot complete the update until the machines are available. However, the maximum number of unavailable nodes is set to ensure that normal cluster operations can continue with that number of machines out of service.
4544

4645
The OpenShift Update Service is composed of an Operator and one or more application instances.
47-

0 commit comments

Comments
 (0)