kubectl tree

kubectl 插件,用于以树形方式浏览 Kubernetes 对象层次结构。「kubectl plugin to browse Kubernetes object hierarchies as a tree 🎄 (star the repo if you are using)」

Github星跟踪图

kubectl tree

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

The kubectl lineage plugin is very similar to kubectl tree, but it
understands
logical relationships between some API objects without needing ownerReferences.

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 object hierarchy with Knative Service

Example (Agones Fleet):

example Kubernetes object hierarchy with Agones Fleet

Flags

By default, the plugin will only search "namespaced" objects in the same
namespace as the specified object.

You can use the -A or --all-namespaces flag to search namespaced and
non-namespaced objects in all namespaces.

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.

主要指标

概览
名称与所有者ahmetb/kubectl-tree
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证Apache License 2.0
所有者活动
创建于2019-12-23 21:46:55
推送于2025-05-16 03:55:05
最后一次提交2025-05-11 10:33:31
发布数9
最新版本名称v0.4.3 (发布于 )
第一版名称v0.1.0 (发布于 )
用户参与
星数3.1k
关注者数21
派生数133
提交数72
已启用问题?
问题数49
打开的问题数21
拉请求数22
打开的拉请求数9
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?