fcsonline/tmux-thumbs

What kind of kubernetes resources it supports?

xcompass opened this issue · 3 comments

In the readme file, it says it supports kubernetes resources. However, when I did a kubectl get pods, it doesn't get anything. Am I using it in a wrong way? Thanks.

PS: I'm expecting to be able to grab resource names as it is often used in the next command.

Here is a sample output of kubectl get pods

NAME                                    READY   STATUS    RESTARTS        AGE
continuous-image-puller-jt6qw           1/1     Running   0               3d4h
continuous-image-puller-ldl6b           1/1     Running   0               129m
continuous-image-puller-lq4qp           1/1     Running   0               3d4h
continuous-image-puller-qzbsp           1/1     Running   0               3d4h
continuous-image-puller-rbft6           1/1     Running   0               3d4h
continuous-image-puller-sdnvz           1/1     Running   0               3d4h
continuous-image-puller-w9tm6           1/1     Running   0               132m
continuous-image-puller-xf22h           1/1     Running   0               125m
continuous-image-puller-zgzwf           1/1     Running   0               29h

Tmux-thumbs just finds UIDs. If you want to find extra patterns you can add new ones with regexp.

https://github.com/fcsonline/tmux-thumbs#thumbs-regexp-n

Thanks. Here is what I'm using right now set -g @thumbs-regexp-1 '[a-z0-9]+-[^ ]+'

Cool!!