mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * support/gathering-cluster-data.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[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
|
|
|
|
ifndef::openshift-rosa,openshift-dedicated[]
|
|
* You have access to the cluster as a user with the `cluster-admin` role.
|
|
endif::openshift-rosa,openshift-dedicated[]
|
|
ifdef::openshift-rosa,openshift-dedicated[]
|
|
* You have access to the cluster as a user with the `dedicated-admin` role.
|
|
endif::openshift-rosa,openshift-dedicated[]
|
|
* You have 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* and select *Share Feedback* from the list.
|
|
.. Click *Open a support case* from the *Tell us about your experience* window.
|
|
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* -> *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"}'
|
|
----
|