Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions modules/oc-adm-upgrade-recommend.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ The `oc adm upgrade recommend` command is read-only and does not affect the stat
.Prerequisites

* You installed the latest version of {oc-first}.
* You are logged in with a token-based identity, such as `kubeadmin`, by using the `oc login` command.
+
[NOTE]
====
The `oc adm upgrade recommend` command requires a bearer token to query the cluster's Thanos monitoring service for firing alerts. Certificate-based authentication, such as the `system:admin` identity provided in the default `kubeconfig` file from the installation program, does not satisfy this requirement. If you use certificate-based authentication, the command output displays the following message and skips all alert-based precondition checks:

[source,terminal]
----
Failed to check for at least some preconditions: no token is currently in use for this session
----
====

.Procedure

Expand Down