/kubectl-tree

kubectl plugin to browse Kubernetes object hierarchies as a tree 🎄 (using? star the repo!)

Primary LanguageGoApache License 2.0Apache-2.0

kubectl tree 🎄

A kubectl plugin to explore ownership relationships between Kubernetes objects through ownersReferences on them.

Installation

Use krew plugin manager to install

kubectl krew install tree
kubectl tree --help

Demo

Example (Deployment):

example Kubernetes deployment object hierarchy

Example (Knative Service):

example Kubernetes deployment object hierarchy

Author

Ahmet Alp Balkan @ahmetb.

Special acknowledgement: This tool is heavily inspired by @nimakaviani's knative-inspect as it's a generalized version of it.

License

Apache 2.0. See LICENSE.


This is not an official Google project.