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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?