1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

OSDOCS-8805: Adds etcd version query to MicroShift

This commit is contained in:
“Shauna Diaz”
2024-01-08 14:44:10 -05:00
committed by openshift-cherrypick-robot
parent 62914db733
commit 11d86c136e
4 changed files with 63 additions and 4 deletions

View File

@@ -7,8 +7,10 @@ include::_attributes/attributes-microshift.adoc[]
toc::[]
[role="_abstract"]
The etcd service is delivered as part of the {product-title} RPM. The etcd service is run as a separate process and the lifecycle is managed automatically by {product-title}.
The etcd service is delivered as part of the {product-title} RPM. The etcd service is run as a separate process and the etcd lifecycle is managed automatically by {microshift-short}.
include::modules/microshift-observe-debug-etcd-server.adoc[leveloffset=+1]
include::modules/microshift-config-etcd.adoc[leveloffset=+1]
include::modules/microshift-config-etcd.adoc[leveloffset=+1]
include::modules/microshift-etcd-version.adoc[leveloffset=+1]

View File

@@ -6,10 +6,14 @@ include::_attributes/attributes-microshift.adoc[]
toc::[]
// Getting support; note these modules are OCP
Use the following information to get more help with {op-system-bundle}, including {product-title} or {op-system-ostree-first}.
include::modules/support.adoc[leveloffset=+1]
include::modules/microshift-provide-feedback-jira-link.adoc[leveloffset=+1]
include::modules/support-knowledgebase-about.adoc[leveloffset=+1]
include::modules/support-knowledgebase-search.adoc[leveloffset=+1]
include::modules/microshift-submitting-a-case.adoc[leveloffset=+1]
include::modules/microshift-submitting-a-case.adoc[leveloffset=+1]

View File

@@ -11,3 +11,5 @@ To begin troubleshooting, determine which version of {product-title} you have in
include::modules/microshift-version-cli.adoc[leveloffset=+1]
include::modules/microshift-version-api.adoc[leveloffset=+1]
include::modules/microshift-etcd-version.adoc[leveloffset=+1]

View File

@@ -0,0 +1,51 @@
// 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.15.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.15.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"
}
----