Stern

Stern is a command-line tool that tails logs from multiple Kubernetes pods and containers at once, colour-coding each stream so developers can spot errors and…

  • Infrastructure
  • Monitoring & Logging
  • Tools & Utilities
Stern is a command-line tool that tails logs from multiple Kubernetes pods and containers at once, colour-coding each stream so developers can spot errors and debug cluster workloads quickly from a single terminal.

Platform availability

Available on 0 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

70/100 Good

Maintained
93last commit 4 days ago
Popular
744,925 GitHub stars
Easy to install
150 install platforms, install notes
Light to run
No data
Security check
76no serious findings, CI, tests, OpenSSF Scorecard 4.1/10

Based on 4 of 5 factors.

GitHub stars
4,925
Open issues
34
Last commit
2026-11-16
Latest release
v1.35.0
License
Apache-2.0
Activity
rising

Checked 2 days ago - source: GitHub (stern/stern)

Resources & Compatibility

Requirements not published yet.

First-install notes

  • Usage basics Stern takes a regular expression or a namespace/pod query (for example my-namespace/my-deployment), so you can filter pods without exact IDs. It automatically follows newly created pods, drops deleted ones, and can tail every container in a pod or just one via the container flag. source

Fetched 41 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

How can I install stern?

You can download a binary release, build it from source with Go, or install it using asdf, Homebrew, Krew, or WinGet.

How do I select specific pods or Kubernetes resources?

Use a pod-query that is either a regular expression or a Kubernetes resource in the form kind/name, such as deployment/nginx. Supported resources include pod, replicationcontroller, service, daemonset, deployment, replicaset, statefulset, and job.

Does stern watch multiple containers in the same pod?

Yes, it can tail all containers in a pod automatically. You can limit what containers are shown with the container flag.

What happens when pods are added or deleted?

If a pod is deleted, stern removes it from the tail. If a new pod is added, it is automatically included.

How do I control color output?

Use the --color flag with auto, always, or never. Auto colorizes only when a TTY is attached.

Can stern watch pods in more than one namespace?

Yes, use --all-namespaces or -A. A specific namespace given with --namespace is ignored when --all-namespaces is set.

Answers sourced from github.com

Community

Collected 48 days ago - public community threads