Logs
pock8s shows the logs of one container, of all containers of a pod, or of all pods of a workload, merged and followed live. Workloads are Deployments, StatefulSets, DaemonSets, ReplicaSets and Jobs.
Open the logs
- In a pod’s Containers tab, from a container.
- With the Logs action on the detail of a pod or a workload.
- With Logs in a row’s long-press actions.
- With the palette verb
logs(orlog) on the object on screen. - With the key
lon a hardware keyboard.
Reading logs needs the permission get pods/log.
Sources
Each container that feeds the view is a source, shown as a chip with a colour and a two-character tag, for example
A1. Every line starts with the tag of its source. Sources opens the list: hide or show a source there.
pock8s follows at most 12 sources at once. A larger workload shows how many it follows, and you choose which ones. Pods that join or leave a workload are added or removed while you watch, with a marker line.
Follow and pause
The view follows new lines. Scroll up to pause: a pill counts the new lines that arrived, and Follow jumps back to the newest line. The buffer keeps the last 5,000 lines.
If a stream breaks, pock8s reconnects by itself and marks the gap in the log. When you leave the screen, the streams stop a few seconds later; when you come back, they resume with a marker and a fresh tail.
Toolbar
| Control | Does |
|---|---|
| Filter lines | shows only matching lines and highlights the matches |
| Wrap | wraps long lines; on by default on phones, off on larger windows |
| Time | shows the timestamp of each line |
| Previous | shows the log of the previous container, the one before the last restart |
| Copy | copies the lines shown |
Very long lines are cut; the line sheet says where.
One line
Tap a line to open it in a sheet with its source, its time in UTC and the full text. A line that is JSON is also shown formatted. Copy line and Copy JSON copy it.

When there is nothing to show
| You see | Means |
|---|---|
| Waiting for the container to start | The container has not started. The reason is shown, for example the scheduler’s reason for a pod without a node. pock8s tries again with growing pauses. |
| Logs are forbidden | RBAC denies get pods/log. Copy command copies the matching command for your cluster admin. |
| No lines yet | The container has written nothing since the view opened. New lines appear as it writes them. |
| The log is empty | The container wrote nothing. |
| No pod belongs to this workload right now | Their logs appear when pods start. |
| No previous container | The container has not restarted, so there is no earlier log. |
Not yet
A regular expression filter and sharing a log as a file are not in this release.