2022-11-04 12:06:45 -04:00
|
|
|
// Module included in the following assemblies:
|
|
|
|
|
//
|
2022-11-29 15:47:47 -05:00
|
|
|
// * microshift_troubleshooting/microshift-version.adoc
|
2022-11-04 12:06:45 -04:00
|
|
|
|
2022-11-29 15:47:47 -05:00
|
|
|
:_content-type: PROCEDURE
|
2022-11-08 08:53:49 -05:00
|
|
|
[id="microshift-version-cli_{context}"]
|
2023-10-24 13:49:05 -04:00
|
|
|
= Checking the version using the command-line interface
|
2022-11-04 12:06:45 -04:00
|
|
|
|
2023-10-12 09:27:44 -04:00
|
|
|
To begin troubleshooting, you must know your {microshift-short} version. One way to get this information is by using the CLI.
|
2023-01-17 16:36:30 -05:00
|
|
|
|
2022-11-04 12:06:45 -04:00
|
|
|
.Procedure
|
|
|
|
|
|
|
|
|
|
* Run the following command to check the version information:
|
2022-11-15 11:53:47 -05:00
|
|
|
+
|
2022-11-04 12:06:45 -04:00
|
|
|
[source,terminal]
|
|
|
|
|
----
|
|
|
|
|
$ microshift version
|
|
|
|
|
----
|
2022-11-29 15:47:47 -05:00
|
|
|
+
|
2022-11-04 12:06:45 -04:00
|
|
|
.Example output
|
2023-01-17 16:36:30 -05:00
|
|
|
[source,terminal,subs="attributes+"]
|
2022-11-04 12:06:45 -04:00
|
|
|
----
|
2023-01-17 16:36:30 -05:00
|
|
|
{product-title} Version: {product-version}-0.microshift-e6980e25
|
|
|
|
|
Base OCP Version: {product-version}
|
2022-11-04 12:06:45 -04:00
|
|
|
----
|