Skip to content

stern

Multi pod and container log tailing for Kubernetes

Allows you to tail multiple pods on Kubernetes and multiple containers within the pod. Each result is color coded for quicker debugging.

devops

https://github.com/wercker/stern

amd64 armhf arm64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install stern

sudo apt install stern

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    stern=1.24.0*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      stern=1.24.0*

Download URLs

Version SHA256 Size (KB)
1.24.0 e41b760afd4615f1cbab140e1cf8bcb3f6183f3588e92b0478ac1d5c79db3219 7792
1.23.0 69ad958c62323998ff1a4fe351214cc54daf653bde8a61fe5e2e6937ce0dc81e 7757
Version SHA256 Size (KB)
1.24.0 5f1431ad35b8a41a8882fe6de894fd2b8259eafd4cff25a8fdd66e0a976840f0 6660
1.23.0 4f85519d13541fddaaf2b42ad1cb7aeaa3c0f9265d8546ca34f6dfa6a466d741 6629
Version SHA256 Size (KB)
1.24.0 897bf4ea32a2b6103150c8ca79fab4cc64d3a59ee15304ac5619811b60288d1f 6694
1.23.0 88956c48b42d584bab2b1703c4db29ca899a5a2773f4544ead5cd7f0a482a60d 6658

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for stern are versionned here.

Click here to see stern ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/stern/ops2deb.yml
name: stern
matrix:
  architectures:
    - amd64
    - arm64
    - armhf
  versions:
    - 1.23.0
    - 1.24.0
homepage: https://github.com/wercker/stern
summary: multi pod and container log tailing for Kubernetes
description: |-
  Allows you to tail multiple pods on Kubernetes and multiple containers within
  the pod. Each result is color coded for quicker debugging.
fetch: https://github.com/stern/stern/releases/download/v{{version}}/stern_{{version}}_linux_{{goarch}}.tar.gz
install:
  - stern:/usr/bin/stern

The blueprint fetch keyword contains a URL template pointing to stern releases. Downloaded files are locked in a lockfile versionned here.

Click here to see stern release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/stern/ops2deb.lock.yml
- url: https://github.com/stern/stern/releases/download/v1.23.0/stern_1.23.0_linux_amd64.tar.gz
  sha256: f5eb4a30a5967bdd5af1de5190dd872a91ee6923c6b1eaa58038f039b8224d38
  timestamp: 2023-03-06 09:56:12+00:00
- url: https://github.com/stern/stern/releases/download/v1.23.0/stern_1.23.0_linux_arm.tar.gz
  sha256: af254953d979f0bf58dbee1695964479ff2ed19b24093b3032492e4cef291083
  timestamp: 2023-03-06 09:56:50+00:00
- url: https://github.com/stern/stern/releases/download/v1.23.0/stern_1.23.0_linux_arm64.tar.gz
  sha256: 66acf926b6d6eb8ae0cd7879b4ad190709085bddf968d6f189e93ea5615de6e1
  timestamp: 2023-03-06 09:56:50+00:00
- url: https://github.com/stern/stern/releases/download/v1.24.0/stern_1.24.0_linux_amd64.tar.gz
  sha256: 3c99db6b65e53b1e4f35210c21fe639b86903a5f70e6872fd4c799ba8d38f660
  timestamp: 2023-03-12 09:16:51+00:00
- url: https://github.com/stern/stern/releases/download/v1.24.0/stern_1.24.0_linux_arm.tar.gz
  sha256: 7bb32a29230a39e94fde9684766fcf12f245f9a1f3e196955ae2ec1f5885d5ad
  timestamp: 2023-03-12 09:16:51+00:00
- url: https://github.com/stern/stern/releases/download/v1.24.0/stern_1.24.0_linux_arm64.tar.gz
  sha256: f13682b756ce90bc06ed6c0f2810c59dcb951fb117da5c022acadcab0c03c85e
  timestamp: 2023-03-12 09:16:51+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/stern.svg)](https://docs.wakemeops.com/packages/stern)
<a href="https://docs.wakemeops.com/packages/stern">
  <img src="https://docs.wakemeops.com/badges/stern.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/stern.svg
:target: https://docs.wakemeops.com/packages/stern