Stern allows you to tail multiple pods on Kubernetes and multiple containers within the pod. Each result is color-coded for quicker debugging. The query is a regular expression so the pod name can easily be filtered and you don't need to specify the exact id (for instance omitting the deployment id). If a pod is deleted it gets removed from tail and if a new pod is added it automatically gets tailed. When a pod contains multiple containers Stern can tail all of them too without having to do this manually for each one. Simply specify the container flag to limit what containers to show. By default all containers are listened to. If you don't want to build from source go grab a binary release. Govendor is required to install vendored dependencies. On macOS, you can also install Stern using Homebrew.

Features

  • stern supports outputting custom log messages
  • stern will use the $KUBECONFIG environment variable if set
  • Show auth activity from 15min ago with timestamps
  • stern supports command-line auto completion for bash or zsh
  • If you use bash, stern bash completion code depends on the bash-completion
  • Govendor is required to install vendored dependencies

Project Samples

Project Activity

See All Activity >

Categories

Logging

License

Apache License V2.0

Follow stern

stern Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of stern!

Additional Project Details

Operating Systems

Mac, Windows

Programming Language

Go

Related Categories

Go Logging Software

Registered

2021-11-03