Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 353 Bytes

logging-get-clusterid-snip.adoc

File metadata and controls

12 lines (9 loc) · 353 Bytes

Logs from any source contain a field openshift.cluster_id, the unique identifier of the cluster in which the Operator is deployed.

ClusterID query
$ oc get clusterversion/version -o jsonpath='{.spec.clusterID}{"\n"}'