stern

stern

TLDR

Tail all pods within a current namespace

>_ stern .
copy

Tail all pods with a specific status

>_ stern . --container-state [running|waiting|terminated]
copy

Tail all pods that matches a given regular expression

>_ stern [pod_query]
copy

Tail matched pods from all namespaces

>_ stern [pod_query] --all-namespaces
copy

Tail matched pods from 15 minutes ago

>_ stern [pod_query] --since [15m]
copy

Tail matched pods with a specific label

>_ stern [pod_query] --selector [release=canary]
copy

Copied to clipboard
free 100$ digital ocean credit