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?
kubectl get po --no-headers --field-selector=status.phase=Running -o custom-columns=":metadata.name" | fzf | head | xargs kubectl logs -f
Top comments (0)