-
Notifications
You must be signed in to change notification settings - Fork 1.9k
OTA-472: Reorganizing and adding a channel management chapter #39613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,17 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * updating/updating-cluster.adoc | ||
| // * updating/updating-cluster-between-minor.adoc | ||
| // * updating/updating-cluster-within-minor.adoc | ||
| // * updating/updating-cluster-cli.adoc | ||
| // * updating/updating-cluster-rhel-compute.adoc | ||
| // * updating/updating-disconnected-cluster.adoc | ||
|
|
||
| [id="understanding-upgrade-channels_{context}"] | ||
| = {product-title} upgrade channels and releases | ||
|
|
||
| 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}. | ||
| = Upgrade channels and release paths | ||
| Cluster administrators can configure the upgrade channel from the web console. | ||
|
|
||
| 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. | ||
|
|
||
| ifndef::openshift-origin[] | ||
| {product-title} {product-version} offers the following upgrade channels: | ||
|
|
||
| * `candidate-{product-version}` | ||
| * `fast-{product-version}` | ||
| * `stable-{product-version}` | ||
| * `eus-4.y` (only when running an even-numbered 4.y cluster release, like 4.10) | ||
|
|
||
| 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. | ||
|
|
||
| endif::openshift-origin[] | ||
| ifdef::openshift-origin[] | ||
| {product-title} {product-version} offers the following upgrade channel: | ||
|
|
||
| * `stable-4` | ||
|
|
||
| endif::openshift-origin[] | ||
|
|
||
| ifndef::openshift-origin[] | ||
| [discrete] | ||
| [id="candidate-version-channel_{context}"] | ||
| == candidate-{product-version} channel | ||
|
|
||
| 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::[] | |
| for more build information. | ||
| ==== | ||
|
|
||
| [discrete] | ||
| [id="fast-version-channel_{context}"] | ||
|
||
| == fast-{product-version} channel | ||
|
|
||
| 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. | ||
|
|
||
| You can use the `fast-{product-version}` channel to upgrade from a previous minor version of {product-title}. | ||
| endif::openshift-origin[] | ||
|
|
||
| ifndef::openshift-origin[] | ||
| [discrete] | ||
|
|
||
| [id="stable-version-channel_{context}"] | ||
| == stable-{product-version} channel | ||
| 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. | ||
|
|
||
| You can use the `stable-{product-version}` channel to upgrade from a previous minor version of {product-title}. | ||
| endif::openshift-origin[] | ||
| ifdef::openshift-origin[] | ||
| [discrete] | ||
|
|
||
| [id="stable-4-channel_{context}"] | ||
| == stable-4 channel | ||
| Releases are added to the `stable-4` channel after passing all tests. | ||
|
|
||
| You can use the `stable-4` channel to upgrade from a previous minor version of {product-title}. | ||
| endif::openshift-origin[] | ||
|
|
||
| ifndef::openshift-origin[] | ||
| [discrete] | ||
|
|
||
| [id="eus-4y-channel_{context}"] | ||
| == eus-4.y channel | ||
|
|
||
| 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. | ||
|
|
||
| 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. | ||
| 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. | ||
|
|
||
| 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. | ||
|
|
||
| This upgrade process does not apply for the `eus-4.6` channel. | ||
| endif::openshift-origin[] | ||
|
|
||
| [discrete] | ||
| [id="upgrade-version-paths_{context}"] | ||
| == Upgrade version paths | ||
|
|
||
| {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 | |
| endif::openshift-origin[] | ||
|
|
||
| ifndef::openshift-origin[] | ||
| [discrete] | ||
|
|
||
| [id="fast-stable-channel-strategies_{context}"] | ||
| == Fast and stable channel use and strategies | ||
|
|
||
| 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. | ||
|
|
||
| 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. | ||
| endif::openshift-origin[] | ||
|
|
||
| [discrete] | ||
| [id="restricted-network-clusters_{context}"] | ||
| == Restricted network clusters | ||
|
|
||
| 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. | ||
|
|
||
| ifndef::openshift-origin[] | ||
| [discrete] | ||
|
|
||
| [id="switching-between-channels_{context}"] | ||
| == Switching between channels | ||
|
|
||
| A channel can be switched from the web console or through the `adm upgrade channel` command: | ||
|
|
||
| [source,terminal] | ||
| ---- | ||
| $ oc adm upgrade channel clusterversion version --type json -p '[{"op": "add", "path": "/spec/channel", "value": "<channel>”}]' | ||
| ---- | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.