Summarizing cluster specifications
To verify the version, update history, and component status of your OpenShift Container Platform cluster, query the clusterversion resource.
Summarizing cluster specifications by using a cluster version object
To verify your cluster version, check update history, and confirm component status, query the clusterversion resource.
Prerequisites
- You have access to the cluster as a user with the
cluster-adminrole. - You have installed the OpenShift CLI (
oc).
Procedure
-
Query cluster version, availability, uptime, and general status:
$ oc get clusterversionExample outputNAME VERSION AVAILABLE PROGRESSING SINCE STATUSversion 4.13.8 True False 8h Cluster version is 4.13.8 -
Obtain a detailed summary of cluster specifications, update availability, and update history:
$ oc describe clusterversionExample outputName: versionNamespace:Labels: <none>Annotations: <none>API Version: config.openshift.io/v1Kind: ClusterVersion# ...Image: quay.io/openshift-release-dev/ocp-release@sha256:a956488d295fe5a59c8663a4d9992b9b5d0950f510a7387dbbfb8d20fc5970ceURL: https://access.redhat.com/errata/RHSA-2023:4456Version: 4.13.8History:Completion Time: 2023-08-17T13:20:21ZImage: quay.io/openshift-release-dev/ocp-release@sha256:a956488d295fe5a59c8663a4d9992b9b5d0950f510a7387dbbfb8d20fc5970ceStarted Time: 2023-08-17T12:59:45ZState: CompletedVerified: falseVersion: 4.13.8# ...