skip to content
Alvin Lucillo

Tail logs in k8s

/ 1 min read

💻 Tech

Stern is a tool that lets you tail kubernetes logs, so you won’t need to specify the specific pods via kubectl logs pod-id; you can just easily do stern app1 to see the logs of app1 pod. For more specific search you can do, stern app1 "some id" that returns the logs with that given text.

Resource: https://github.com/stern/stern