Tools
Practical
By Samson Tanimawo, PhD
Published Apr 15, 2026
4 min read
stern for Multi-Pod Logs
stern tails logs across pods matching a selector.
Live workflow · 3 working · 1 queuedLive
Signal · gather Working
Decide · pick action Working
Apply · with verify Working
Learn · update playbook Queued
Usage
stern api -n prod tails all pods matching api.
--since=10m for recent only.
Filter
stern api --include "ERROR" filters to lines.
Combine with grep-equivalent flags.
Alternatives
kubectl logs -l app=api -f works but less ergonomic.
stern is the standard.