Skip to content

Commit d745f54

Browse files
authored
Merge pull request #69917 from ShaunaDiaz/OSDOCS-8805
OSDOCS-8805: Adds etcd version query to MicroShift
2 parents a7995c1 + 4a6291c commit d745f54

File tree

4 files changed

+63
-4
lines changed

4 files changed

+63
-4
lines changed

microshift_support/microshift-etcd.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ include::_attributes/attributes-microshift.adoc[]
77
toc::[]
88

99
[role="_abstract"]
10-
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}.
10+
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}.
1111

1212
include::modules/microshift-observe-debug-etcd-server.adoc[leveloffset=+1]
1313

14-
include::modules/microshift-config-etcd.adoc[leveloffset=+1]
14+
include::modules/microshift-config-etcd.adoc[leveloffset=+1]
15+
16+
include::modules/microshift-etcd-version.adoc[leveloffset=+1]

microshift_support/microshift-getting-support.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ include::_attributes/attributes-microshift.adoc[]
66

77
toc::[]
88

9-
// Getting support; note these modules are OCP
9+
Use the following information to get more help with {op-system-bundle}, including {product-title} or {op-system-ostree-first}.
1010

1111
include::modules/support.adoc[leveloffset=+1]
12+
1213
include::modules/microshift-provide-feedback-jira-link.adoc[leveloffset=+1]
14+
1315
include::modules/support-knowledgebase-about.adoc[leveloffset=+1]
16+
1417
include::modules/support-knowledgebase-search.adoc[leveloffset=+1]
15-
include::modules/microshift-submitting-a-case.adoc[leveloffset=+1]
18+
19+
include::modules/microshift-submitting-a-case.adoc[leveloffset=+1]

microshift_troubleshooting/microshift-version.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ To begin troubleshooting, determine which version of {product-title} you have in
1111
include::modules/microshift-version-cli.adoc[leveloffset=+1]
1212

1313
include::modules/microshift-version-api.adoc[leveloffset=+1]
14+
15+
include::modules/microshift-etcd-version.adoc[leveloffset=+1]

modules/microshift-etcd-version.adoc

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * microshift_troubleshooting/microshift-version.adoc
4+
// * microshift_support/microshift-etcd.adoc
5+
6+
:_mod-docs-content-type: PROCEDURE
7+
[id="microshift-version-etcd_{context}"]
8+
= Checking the etcd version
9+
10+
You can get the version information for the etcd database included with your {microshift-short}.
11+
12+
.Procedure
13+
14+
* To display the base database version information, run the following command:
15+
+
16+
[source,terminal]
17+
----
18+
$ microshift-etcd version
19+
----
20+
+
21+
.Example output
22+
[source,terminal,subs="attributes+"]
23+
----
24+
microshift-etcd Version: 4.15.1
25+
Base etcd Version: 3.5.10
26+
----
27+
28+
* To display the full database version information, run the following command:
29+
+
30+
[source,terminal]
31+
----
32+
$ microshift-etcd version -o json
33+
----
34+
+
35+
.Example output
36+
[source,terminal,subs="attributes+"]
37+
----
38+
{
39+
"major": "4",
40+
"minor": "15",
41+
"gitVersion": "4.15.1",
42+
"gitCommit": "2e182312718cc9d267ec71f37dc2fbe2eed01ee2",
43+
"gitTreeState": "clean",
44+
"buildDate": "2024-01-09T06:51:40Z",
45+
"goVersion": "go1.20.10",
46+
"compiler": "gc",
47+
"platform": "linux/amd64",
48+
"patch": "",
49+
"etcdVersion": "3.5.10"
50+
}
51+
----

0 commit comments

Comments
 (0)