1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 09:46:53 +01:00
Files
openshift-docs/modules/support-get-cluster-id.adoc
2020-08-07 09:50:27 +01:00

37 lines
1.5 KiB
Plaintext

// Module included in the following assemblies:
//
// * support/gathering-cluster-data.adoc
[id="support-get-cluster-id_{context}"]
= Obtaining your cluster ID
When providing information to Red Hat Support, it is helpful to provide the unique identifier for your cluster. You can have your cluster ID autofilled by using the {product-title} web console. You can also manually obtain your cluster ID by using the web console or the OpenShift CLI (`oc`).
.Prerequisites
* Access to the cluster as a user with the `cluster-admin` role.
* Access to the web console or the OpenShift CLI (`oc`) installed.
.Procedure
ifdef::openshift-enterprise,openshift-webscale,openshift-dedicated[]
* To open a support case and have your cluster ID autofilled using the web console:
.. From the toolbar, navigate to *(?) Help* -> *Open Support Case*.
.. The *Cluster ID* value is autofilled.
endif::[]
ifdef::openshift-origin[]
* To open a bug and have your cluster ID autofilled using the web console:
.. From the toolbar, navigate to *(?) Help* -> *Report Bug*.
.. The *Cluster ID* value is autofilled after you click `Submit Bug`.
endif::[]
* To manually obtain your cluster ID using the web console:
.. Navigate to *Home* -> *Dashboards* -> *Overview*.
.. The value is available in the *Cluster ID* field of the *Details* section.
* To obtain your cluster ID using the OpenShift CLI (`oc`), run the following command:
+
[source,terminal]
----
$ oc get clusterversion -o jsonpath='{.items[].spec.clusterID}{"\n"}'
----