mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * microshift_troubleshooting/microshift-version.adoc
|
|
// * microshift_support/microshift-etcd.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="microshift-version-etcd_{context}"]
|
|
= Checking the etcd version
|
|
|
|
[role="_abstract"]
|
|
You can get the version information for the etcd database included with your {microshift-short} 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:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ microshift-etcd version
|
|
----
|
|
+
|
|
.Example output
|
|
[source,terminal,subs="attributes+"]
|
|
----
|
|
microshift-etcd Version: 4.20.0
|
|
Base etcd Version: 3.5.13
|
|
----
|
|
|
|
* To display the full database version information, run the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ microshift-etcd version -o json
|
|
----
|
|
+
|
|
.Example output
|
|
[source,terminal]
|
|
----
|
|
{
|
|
"major": "4",
|
|
"minor": "20",
|
|
"gitVersion": "4.20.0",
|
|
"gitCommit": "140777711962eb4e0b765c39dfd325fb0abb3622",
|
|
"gitTreeState": "clean",
|
|
"buildDate": "2025-11-03T16:37:53Z",
|
|
"goVersion": "go1.21.9"
|
|
"compiler": "gc",
|
|
"platform": "linux/amd64",
|
|
"patch": "",
|
|
"etcdVersion": "3.5.13"
|
|
}
|
|
---- |