第 1 章 The etcd service
The Red Hat build of MicroShift RPM includes the etcd service. The etcd service runs as a separate process and MicroShift automatically manages the etcd lifecycle.
1.1. Observe and debug the MicroShift etcd server 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
You can gather journalctl logs to observe and debug the etcd server logs.
Prerequisites
- The MicroShift service is running.
Procedure
To get the logs for etcd, run the following command:
$ sudo journalctl -u microshift-etcd.scope注意MicroShift logs can be accessed separately from etcd logs using the
journalctl -u microshiftcommand.