Skip to content

Commit

Permalink
Add cluster-id mention to debugging tips
Browse files Browse the repository at this point in the history
  • Loading branch information
ggiguash committed Jan 28, 2024
1 parent 1441726 commit a03ef96
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion docs/user/debugging_tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,29 @@ metadata:

## Checking the LVMS Version

Like the MicroShift version, the LVM version is available via a configmap. To get the version, run:
Like the MicroShift version, the LVM version is available via a configmap.
To get the version, run the following command.

```bash
$ oc get configmap -n kube-public lvms-version -ojsonpath='{.data.version}'
```

## Checking the MicroShift Cluster ID

MicroShift uses the `kube-system` namespace metadata UID value as a unique cluster identifier.
To get the cluster ID, run the following command.

```
oc get namespaces kube-system -o jsonpath="{.metadata.uid}"
```

If the cluster is not running, examine the `/var/lib/microshift/cluster-id` file contents to
get the cluster ID.

```
sudo cat /var/lib/microshift/cluster-id
```

## Generating an SOS Report

The MicroShift RPMs have an explicit dependency on the `sos` utility allowing to collect
Expand Down

0 comments on commit a03ef96

Please sign in to comment.