Chapter 1. Checking which version you have installed
To begin troubleshooting, determine which version of Red Hat build of MicroShift you have installed.
1.1. Checking the version using the command-line interface Copy linkLink copied to clipboard!
To begin troubleshooting, you must know your MicroShift version. One way to get this information is by using the CLI.
Procedure
Run the following command to check the version information:
microshift version
$ microshift version
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example output
Red Hat build of MicroShift Version: 4.17-0.microshift-e6980e25 Base OCP Version: 4.17
Red Hat build of MicroShift Version: 4.17-0.microshift-e6980e25 Base OCP Version: 4.17
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
1.2. Checking the MicroShift version using the API Copy linkLink copied to clipboard!
To begin troubleshooting, you must know your MicroShift version. One way to get this information is by using the API.
Procedure
To get the version number using the OpenShift CLI (
oc
), view thekube-public/microshift-version
config map by running the following command:oc get configmap -n kube-public microshift-version -o yaml
$ oc get configmap -n kube-public microshift-version -o yaml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example output
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
1.3. Checking the etcd version Copy linkLink copied to clipboard!
You can get the version information for the etcd database included with your MicroShift by using one or both of the following methods, depending on the level of information that you need.
Procedure
To display the base database version information, run the following command:
microshift-etcd version
$ microshift-etcd version
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example output
microshift-etcd Version: 4.17.1 Base etcd Version: 3.5.13
microshift-etcd Version: 4.17.1 Base etcd Version: 3.5.13
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To display the full database version information, run the following command:
microshift-etcd version -o json
$ microshift-etcd version -o json
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Example output
Copy to Clipboard Copied! Toggle word wrap Toggle overflow