[~] dgn.rocks

~/projects/k8s-pod-log-analyzer

k8s logs

’25 · go · tui · k8s

  • open source

g go esc index

k8s logs · namespacestty
defaultkube-systemAuto-refresh: true

j k move · enter open · t refresh

Search Kubernetes pod logs in a TUI and surface repeating patterns.

kubectl logs dumps a stream. During an incident you need the repeating error, the namespace, and the pod, without opening a second observability product.

This TUI lists namespaces, then pods. Open a pod and it scores lines with regex: error, failed, fatal, exception, panic, oom; warn, deprecated, retry; the rest as info. English or Turkish. Flags: --namespace / -n, --since / -s (default 5m), --lang. It talks to the cluster through kubectl, not a Go client.

Namespace and pod lists refresh every 5 seconds. Opening a pod is one kubectl logs --since. It does not tail a live stream. It does not export JSON. It is not a metrics stack.