第 4 章 Summarizing cluster specifications
4.1. Summarizing cluster specifications through clusterversion
You can obtain a summary of OpenShift Container Platform cluster specifications by querying the clusterversion
resource.
Prerequisites
-
You have access to the cluster as a user with the
cluster-admin
role. -
You have installed the OpenShift CLI (
oc
).
Procedure
Query cluster version, availability, uptime, and general status:
$ oc get clusterversion
Obtain a detailed summary of cluster specifications, update availability, and update history:
$ oc describe clusterversion