stern
« Back to VersTracker
Description:
Tail multiple Kubernetes pods & their containers
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Devops
Tags: kubernetes logs devops debugging cli
Install: brew install stern
About:
Stern is a command-line utility that allows you to tail multiple Kubernetes pods and their containers simultaneously. It dynamically tracks new pods that match a given selector, providing real-time logs from all relevant instances. This tool is invaluable for debugging distributed applications where logs are spread across many transient pods.
Key Features:
  • Tail multiple pods and containers concurrently
  • Fuzzy match pod names and automatically track new pods
  • Colorize output for easy log differentiation
  • Supports filtering by container name and previous terminated logs
Use Cases:
  • Debugging microservices by viewing logs from all instances in real-time
  • Monitoring deployment progress and watching for startup errors across pods
Alternatives:
  • kubectl logs -f – Native kubectl requires specifying a single pod, making it less efficient for dynamic or multi-pod workloads.
  • kail – Similar functionality, though Stern is generally more actively maintained and offers better filtering options.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 12:26pm 0 VERSION_BUMP 043431be