Observe and debug the MicroShift etcd server

Monitoring the etcd server is critical for maintaining system stability and diagnosing errors. 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
    Note

    MicroShift logs can be accessed separately from etcd logs using the journalctl -u microshift command.