DEV Community

Maksim Bober
Maksim Bober

Posted on • Edited on

1

One line CLI tool to fuzzy search pods?

fzf is a nice tool that allows you to fuzzy search line separated input. So what if we want to fuzzy search our active pods?

asciicast

 kubectl get po --no-headers --field-selector=status.phase=Running -o custom-columns=":metadata.name" | fzf | head | xargs kubectl logs -f
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up