kubectl-tree

Browse Kubernetes object hierarchies as an interactive tree

brewmacoslinux
Try with needOr install directly
Source

About

Kubectl plugin to browse Kubernetes object hierarchies as a tree

Commands

kubectl-tree

Examples

View all resources in a namespace as a tree$ kubectl tree -n default
Show resource hierarchy for a specific deployment$ kubectl tree deployment my-app -n production
Display pod relationships and their associated resources$ kubectl tree pod my-pod