1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/microshift-get-nonrunning-cluster-id-kubesystem.adoc
2024-04-11 20:15:51 +00:00

24 lines
685 B
Plaintext

// Module included in the following assemblies:
//
// microshift_support/microshift-getting-cluster-id.adoc
:_mod-docs-content-type: PROCEDURE
[id="microshift-get-nonrunning-cluster-id-kubesystem_{context}"]
= Getting the cluster ID of a stopped cluster
For a cluster that ran before, but is not running now, you can get the cluster ID from the `cluster-id` file in the `/var/lib/microshift` directory.
.Procedure
* Get the ID of a stopped cluster by retrieving it from the `cluster-id` file by entering the following command:
+
[source,terminal]
----
$ sudo cat /var/lib/microshift/cluster-id
----
.Example output
+
[source,terminal]
----
7cf13853-68f4-454e-8f5c-1af748cbfb1a
----