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

OSDOCS-5260:Etcd docs for MicroShift

This commit is contained in:
Olivia Payne
2023-03-06 09:53:06 -05:00
committed by openshift-cherrypick-robot
parent bab0a16b51
commit 3a37158006
7 changed files with 53 additions and 0 deletions

View File

@@ -56,6 +56,13 @@ Topics:
- Name: Embedding in a RHEL for Edge image
File: microshift-embed-in-rpm-ostree
---
Name: Support
Dir: microshift_support
Distros: microshift
Topics:
- Name: MicroShift etcd
File: microshift-etcd
---
Name: API reference
Dir: microshift_rest_api
Distros: microshift

View File

@@ -0,0 +1 @@
../_attributes

1
microshift_support/images Symbolic link
View File

@@ -0,0 +1 @@
../images

View File

@@ -0,0 +1,15 @@
:_content-type: ASSEMBLY
[id="microshift-etcd"]
= MicroShift etcd
include::_attributes/attributes-microshift.adoc[]
:context: microshift-etcd
toc::[]
[role="_abstract"]
{product-title} etcd 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}.
:FeatureName: MicroShift
include::snippets/microshift-tech-preview-snip.adoc[leveloffset=+1]
include::modules/microshift-observe-debug-etcd-server.adoc[leveloffset=+1]

1
microshift_support/modules Symbolic link
View File

@@ -0,0 +1 @@
../modules

1
microshift_support/snippets Symbolic link
View File

@@ -0,0 +1 @@
../snippets/

View File

@@ -0,0 +1,27 @@
// Module included in the following assemblies:
//
//* microshift_support/microshift-etcd.adoc
:_content-type: PROCEDURE
[id="microshift-observe-debug-etcd-server_{context}"]
= Observe and debug the {product-title} etcd server
You can gather `journalctl` logs to observe and debug the etcd server logs.
.Prerequisites
* You must have the {product-title} service running.
.Procedure
* To get the logs for etcd, run the following command:
+
[source,terminal]
----
$ sudo journalctl -u microshift-etcd.scope
----
+
[NOTE]
====
{product-title} logs can be accessed seperately from etcd logs using the `journalctl -u microshift` command.
====