Skip to content

-t default seems broken: no output #294

@guettli

Description

@guettli

What happened:

❯ stern  --since=2m --no-follow --only-log-lines -n kube-system -t default .
--> no output.

What you expected to happen:

I would like to see output. If I remove -t default, I see output:

❯ stern  --since=2m --no-follow --only-log-lines -n kube-system . | head    
ccm-7f8b59bc4d-zsbv4 ccm I0423 11:32:37.329272    ...

How to reproduce it (as minimally and precisely as possible):

Use -t default

Anything else we need to know?:

Environment:

  • stern version (use stern --version): version: 1.28.0
  • OS (e.g: cat /etc/os-release): Ubuntu 22.04.4 LTS
  • Install tools (e.g: Homebrew) via brew
  • Others: Used directly, not via kubectl

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions