kubetail

Table of contents

  1. kubetail
    1. Information
    2. Releases
    3. Installation
    4. Completion
    5. Usage
    6. Bugs
    7. Links

Bash script that enables you to aggregate (tail/follow) logs from multiple pods into one stream. This is the same as running kubectl logs -f but for multiple pods.


Information

Source | Tracker | VCS | QA | Bugs


Releases

  • 1.6.5-2 (bookworm )
  • 1.6.20-1 (sid | unstable )

If you are using an unlisted debian version probably that means this package it’s not available.


Installation

apt install kubetail

Completion

Completions will be installed for bash, zsh and fish shells.


Usage

First find the names of all your pods:

kubectl get pods

This will return a list looking something like this:

NAME                   READY     STATUS    RESTARTS   AGE
app1-v1-aba8y          1/1       Running   0          1d
app1-v1-gc4st          1/1       Running   0          1d
app1-v1-m8acl  	       1/1       Running   0          6d
app1-v1-s20d0  	       1/1       Running   0          1d
app2-v31-9pbpn         1/1       Running   0          1d
app2-v31-q74wg         1/1       Running   0          1d
my-demo-v5-0fa8o       1/1       Running   0          3h
my-demo-v5-yhren       1/1       Running   0          2h

Bugs

Bug ID Title Severity Status Arrival Last Modified Submitter
1059400 kubetail: Broken on Debian Bookworm ("syntax error near unexpected token") due to Bash 5.2 incompatibility important pending 2023-12-24 17:45:02 +0000 2023-12-24 17:45:03 +0000 Joan Bruguera Micó ([email protected])