From 872db98d0e7f53c18985abffb301899bc2162e4b Mon Sep 17 00:00:00 2001 From: cbippley Date: Mon, 3 Nov 2025 14:08:43 -0500 Subject: [PATCH] OCPBUGS#64614 Formatting changes in updating a cluster by using the cli --- modules/update-upgrading-cli.adoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/update-upgrading-cli.adoc b/modules/update-upgrading-cli.adoc index 0329324ddb1d..874409b9fbb3 100644 --- a/modules/update-upgrading-cli.adoc +++ b/modules/update-upgrading-cli.adoc @@ -113,7 +113,7 @@ endif::openshift-origin[] + [source,terminal] ---- -$ oc adm upgrade --to-latest=true <1> +$ oc adm upgrade --to-latest=true ---- ** To update to a specific version: @@ -125,17 +125,17 @@ $ oc adm upgrade --to= <1> <1> `` is the update version that you obtained from the output of the `oc adm upgrade recommend` command. + -.. 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 with the update by running the following command: +[IMPORTANT] +==== +When using `oc adm upgrade --help`, there is a listed option for `--force`. This is _heavily discouraged_, because using the `--force` option bypasses cluster-side guards, including release verification and precondition checks. Using `--force` does not guarantee a successful update. Bypassing guards puts the cluster at risk. +==== ++ +. 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 with the update by running the following command: + [source,terminal] ---- $ oc adm upgrade --allow-not-recommended --to ---- -+ -[IMPORTANT] -==== -When using `oc adm upgrade --help`, there is a listed option for `--force`. This is *heavily discouraged*, as using the `--force` option bypasses cluster-side guards, including release verification and precondition checks. Using `--force` does not guarantee a successful update. Bypassing guards put the cluster at risk. -==== . Optional: Review the status of the Cluster Version Operator by running the following command: +