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
Andrew Taylor 7254a1b0ea updates
2024-06-14 12:59:24 +00:00

51 lines
1.1 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}.
.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.16.1
Base etcd Version: 3.5.10
----
* 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": "15",
"gitVersion": "4.16.1",
"gitCommit": "2e182312718cc9d267ec71f37dc2fbe2eed01ee2",
"gitTreeState": "clean",
"buildDate": "2024-01-09T06:51:40Z",
"goVersion": "go1.20.10",
"compiler": "gc",
"platform": "linux/amd64",
"patch": "",
"etcdVersion": "3.5.10"
}
----