Where Them
Logs App
WTLA-01

MicroK8s

2 log locations · Linux

Canonical · Vendor documentation

Where MicroK8s keeps its logs

MicroK8s logs to journalctl -u snap.microk8s.daemon-kubelite on Linux. 1 other Linux log location is recorded below.

Paths are printed exactly as MicroK8s writes them. Environment variables like %LOCALAPPDATA% and $XDG_STATE_HOME are never expanded, so a path can be pasted straight into a shell. Where a path differs between installer types or shipping flavours, each one is racked as its own card below - why that happens.

Finding your way around Linux.

LNX

MicroK8s - Linux

Canonical
Kubernetes services logjournalctl -u snap.microk8s.daemon-kubelite- 1.21 and later; older releases use snap.microk8s.daemon-apiserver and friends.
containerd logjournalctl -u snap.microk8s.daemon-containerd
MicroK8s log file locations - Linux · Where Them Logs App