Stern
A command-line tool that tails logs from many Kubernetes pods and containers at once.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get Stern
Package managers
- Homebrew
brew install stern
About Stern
Stern follows the logs of several Kubernetes pods, and of several containers inside each pod, in a single terminal stream. You pick what to follow with a regular expression or with a Kubernetes resource written as resource/name. Each result is colour coded so you can tell sources apart while debugging.
The project is a community-maintained fork of the discontinued wercker/stern. It suits developers and operators who find reading logs one pod at a time slow.
Strengths
- Follows many pods and containers in one stream
- Colour-coded output per source
- Selects pods by regular expression or resource name
Limitations
- Terminal only, with no graphical interface
- Needs access to a Kubernetes cluster
Details
- Pricing
- FreeFree to download, with source published on GitHub.
- License
- Open source, license not stated
- Developer
- The Stern contributors
- Platforms
- Command line
- How it runs
- Downloadable app
- Account
- Not required
- Best suited for
- Developers debugging services spread across many Kubernetes pods
- Categories
- CLI tools, Container tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to Stern
Compare allSoftware that can replace Stern for an important use case, and what changes if you switch.
Kubetail
A real-time logging dashboard for viewing Kubernetes container logs in a browser or terminal.
Kubetail shows real-time Kubernetes container logs in a browser as well as the terminal, and can run on the desktop, in a cluster or in Docker.
K9s
Inspect and manage Kubernetes resources from the terminal.
K9s is a full terminal interface for navigating Kubernetes resources that also shows logs, but works per resource rather than merging many pods into one stream.
Dozzle
A self-hosted web app for watching Docker, Swarm and Kubernetes container logs and stats live.
Dozzle is a self-hosted web app for live Docker, Swarm and Kubernetes logs with regex and SQL search, but does not store log history.
Aptakube
A desktop Kubernetes client that connects to several clusters at once in a single view.
Aptakube is a paid desktop Kubernetes client with an aggregated log viewer across pods and clusters, replacing the terminal with a graphical app.
Similar software
Related functionality, not necessarily a direct replacement.
kubectx
Two command-line tools, kubectx and kubens, for switching Kubernetes contexts and namespaces quickly.
kubecolor
A command-line wrapper that adds color to kubectl output to make it easier to read.
Lens
A desktop IDE for understanding, debugging and operating Kubernetes clusters from one workspace.
Headlamp
A Kubernetes user interface that runs as a desktop app or inside a cluster as a web app.
kubie
A command-line tool for switching Kubernetes contexts and namespaces in independent, isolated shells.
Robusta
An open-source tool that groups, enriches and routes Prometheus alerts from Kubernetes clusters to chat destinations.