Show all resources which have spec.foo ?
Closed this issue · 3 comments
guettli commented
kubectl explore
starts with selection the resource.
This works fine for most of my use-cases.
But sometimes I want to know:
Which resources of the field
spec.foo
?
It would be great if kubectl-explore
could solve that.
If not, no big problem. Thank you for that handy tool!
keisku commented
Appreciate your feedback! Please use https://github.com/keisku/kubectl-explore/releases/tag/v0.8.0
You can use this command as below.
# Fuzzy-find from fields of all resources matching the regex.
kubectl explore pod.*node
kubectl explore spec.*containers
kubectl explore httpG
kubectl explore env
keisku commented
Sorry, please use v0.8.1
instead!
guettli commented
wow, you implemented my idea, just some hours later...
Thank you very much!