⎈ Multi pod and container log tailing for Kubernetes -- Friendly fork of (by stern)

Stern Alternatives

Similar projects and alternatives to stern

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better stern alternative or higher similarity.

stern reviews and mentions

Posts with mentions or reviews of stern. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-09.
  • ☸️ Kubernetes: From your docker-compose file to a cluster with Kompose
    3 projects | | 9 Mar 2024
    deploy: stage: deploy image: alpine/k8s:1.29.1 variables: NAMESPACE: $CI_COMMIT_REF_SLUG before_script: # init namespace - kubectl config use-context $KUBE_CONTEXT - kubectl create namespace $NAMESPACE || true # download tools - curl --show-error --silent --location | tar zx --directory /usr/bin/ stern && chmod 755 /usr/bin/stern && stern --version - curl --show-error --silent --location -o /usr/local/bin/kompose && chmod a+x /usr/local/bin/kompose && kompose version # show logs asynchronously. Timeout to avoid hanging indefinitely when an error occurs in script section - timeout 1200 stern -n $NAMESPACE "app-" --tail=0 --color=always & # in background, tail new logs if any (current and incoming) pod with this regex as name - timeout 1200 kubectl -n $NAMESPACE get events --watch-only & # in background, tail new events in background script: # first delete CrashLoopBackOff pods, polluting logs - kubectl -n $NAMESPACE delete pod `kubectl -n $NAMESPACE get pods --selector$MODULE | awk '$3 == "CrashLoopBackOff" {print $1}'` || true # now deploying - kompose convert --out k8s/ - kubectl apply -n $NAMESPACE -f k8s/ - echo -e "\e[93;1mWaiting for the new app version to be fully operational...\e[0m" # waiting for successful deployment - kubectl -n $NAMESPACE rollout status deploy/app-db - kubectl -n $NAMESPACE rollout status deploy/app-back - kubectl -n $NAMESPACE rollout status deploy/app-front # on any error before this line, the script will still wait for these threads to complete, so the initial timeout is important. Adding these commands to after_script does not help - pkill stern || true - pkill kubectl || true after_script: # show namespace content - kubectl config use-context $KUBE_CONTEXT - kubectl -n $NAMESPACE get deploy,service,ingress,pod
  • stern VS stern - a user suggested alternative
    2 projects | 11 Dec 2023
    The old repo is dead
  • 🦊 GitLab CI: 10+ Best Practices to Avoid Widespread Anti-patterns
    3 projects | | 25 Sep 2023
    node-and-git: image: node:18.10-alpine before_script: - apk --no-cache add git kubectl-and-stern: image: alpine/k8s:1.22.13 before_script: # install stern - curl --show-error --silent --location | tar zx --directory /usr/bin/ stern && chmod 755 /usr/bin/stern playwright-and-kubectl: image: before_script: # install kubectl - curl --show-error --silent --location --remote-name && chmod +x ./kubectl && mv ./kubectl /usr/local/bin/
  • K9s: A lazier way to manage Kubernetes Clusters
    2 projects | | 18 Jul 2023
    I'll add stern ( to that - follow logs from multiple pods easily.
  • What k8s related tool you wish you knew earlier?
    4 projects | /r/kubernetes | 8 Jun 2023
    Multi pod and container log tailing for Kubernetes
  • What's your "IDE" of choice nowadays?
    3 projects | /r/kubernetes | 1 Jun 2023
  • How to Deploy and Scale Strapi on a Kubernetes Cluster 1/2
    13 projects | | 3 Feb 2023
    stern v1.22.0
  • Getting started with kubectl plugins
    20 projects | | 18 Jan 2023
    Link to GitHub Repository
  • Julia Evans: Tips for Analyzing Logs
    8 projects | | 13 Dec 2022
    If you are using Kubernetes, I highly recommend using
  • What daily terminal based tools are you using for cluster management?
    19 projects | /r/kubernetes | 5 Dec 2022
    Stern: for log streaming
  • A note from our sponsor - InfluxDB | 15 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →


Basic stern repo stats
18 days ago

stern/stern is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of stern is Go.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives