4 ms·
It’s great how scriptable it is. E.g. it’s relatively easy to use it with kubectl to to browse and inspect k8s resources. Any command where you might be genera
by michaelbarton 5y ago
It’s great how scriptable it is. E.g. it’s relatively easy to use it with kubectl to to browse and inspect k8s resources.
Any command where you might be generating a long list of items you then want to select from can probably benefit from being piped into fzf.
- jwong_ 5y agoHave started using kubectl lately, and would be interested to know how you use fzf. I’m finding I have to do a lot to copying and pasting of pod names in between commands.
- michaelbarton 5y agoYou can do a fair amount of stuff with k9s, which is a nice tool. But if you need to to do something more specialized you can pipe the output of a kubectl command into fzf and then use the ‘describe’ sub command on the selected item returned by fzf. Basically when you need to interact in someway then run a command on the output fzf can be great.
- jwong_ 5y agoAhh, I actually didnt know about that 'describe' command. That helps a lot to get some search terms. Thanks!