Skip to content

Commit 2c6784c

Browse files
authored
Merge pull request #101638 from cbippley/OCPBUGS-64614
OCPBUGS#64614 Formatting changes in updating a cluster by using the cli
2 parents de2d6fd + 765ebff commit 2c6784c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

modules/update-upgrading-cli.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ endif::openshift-origin[]
113113
+
114114
[source,terminal]
115115
----
116-
$ oc adm upgrade --to-latest=true <1>
116+
$ oc adm upgrade --to-latest=true
117117
----
118118
119119
** To update to a specific version:
@@ -125,17 +125,17 @@ $ oc adm upgrade --to=<version> <1>
125125
<1> `<version>` is the update version that you obtained from the output of the
126126
`oc adm upgrade recommend` command.
127127
+
128-
.. 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:
128+
[IMPORTANT]
129+
====
130+
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.
131+
====
132+
+
133+
. 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:
129134
+
130135
[source,terminal]
131136
----
132137
$ oc adm upgrade --allow-not-recommended --to <version>
133138
----
134-
+
135-
[IMPORTANT]
136-
====
137-
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.
138-
====
139139
140140
. Optional: Review the status of the Cluster Version Operator by running the following command:
141141
+

0 commit comments

Comments
 (0)