All apps/Stern

Stern

stern

Multi pod and container log tailing for Kubernetes.

Runs as stern|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 12 fields

Tail logs from every pod and container matching a query, with namespace, selector, time and line filters. Output templates, colors and API throttling options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui stern
Tail Kubernetes pod logsExample values, fixed in this page — nothing here reaches a terminal
Basic
Pod query*
string
Namespace
string
Since
string
Show timestamps
--timestamps
TasksEach one presets the form for one job
Follow logs
querynamespacesincetimestamps
Recent lines, then exit
querynamespacetailno_follow
ParametersOnly these flags are editable in the form
Pod query
Regular expression, or resource/name such as deployment/nginx.
string · positional 0
Namespace
string
--namespace-n
All namespaces
boolean
--all-namespaces-A
Kube context
string
--context
Container (regex)
string
--container-c
Label selector
string
--selector-l
Since
Relative duration such as 5s, 2m or 3h.
string
--since-s5m1h
Lines from the end
integer
--tail
Include lines (regex)
string · repeatable
--include-i
Exclude lines (regex)
string · repeatable
--exclude-e
Show timestamps
boolean
--timestamps-t
Do not follow
boolean
--no-follow
SourcesEvery flag above is checked against these
readme
stern pod-query [flags] `--all-namespaces`, `-A` | `false` | If present, tail across all namespaces. A specific namespace is ignored even if specified with --namespace. `--container`, `-c` | `.*` | Container name when multiple containers in pod. (regular expression) `--context` |…
help2026-10-27

github.com

Before it fills your prompt, Otty checks the installed stern against its version. A form that does not match your version is not offered.