1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/update-conditional-updates.adoc

28 lines
1.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * updating/updating_a_cluster/updating-cluster-cli.adoc
:_mod-docs-content-type: PROCEDURE
[id="update-conditional-upgrade-path{context}"]
= Updating along a conditional update path
You can update along a recommended conditional update path using the web console or the OpenShift CLI (`oc`).
When a conditional update is not recommended for your cluster, you can update along a conditional update path using the OpenShift CLI (`oc`) 4.10 or later.
.Procedure
. To view the description of the update when it is not recommended because a risk might apply, run the following command:
+
[source,terminal]
----
$ oc adm upgrade --include-not-recommended
----
. If the cluster administrator evaluates the potential known risks and decides it is acceptable for the current cluster, then the administrator can waive the safety guards and proceed the update by running the following command:
+
[source,terminal]
----
$ oc adm upgrade --allow-not-recommended --to <version> <.>
----
<.> `<version>` is the update version that you obtained from the output of the previous command, which is supported but also has known issues or risks.