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-etcd-version.adoc
2024-09-19 19:07:03 +00:00

51 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
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.17.1
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,subs="attributes+"]
----
{
"major": "4",
"minor": "16",
"gitVersion": "4.17.1~rc.1",
"gitCommit": "140777711962eb4e0b765c39dfd325fb0abb3622",
"gitTreeState": "clean",
"buildDate": "2024-05-10T16:37:53Z",
"goVersion": "go1.21.9"
"compiler": "gc",
"platform": "linux/amd64",
"patch": "",
"etcdVersion": "3.5.13"
}
----