{"id":13521987,"url":"https://github.com/ahmetb/kubectl-tree","last_synced_at":"2025-05-13T21:08:14.279Z","repository":{"id":37548297,"uuid":"229827299","full_name":"ahmetb/kubectl-tree","owner":"ahmetb","description":"kubectl plugin to browse Kubernetes object hierarchies as a tree 🎄 (star the repo if you are using)","archived":false,"fork":false,"pushed_at":"2025-05-11T17:33:32.000Z","size":2715,"stargazers_count":3126,"open_issues_count":23,"forks_count":134,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-05-11T17:35:57.811Z","etag":null,"topics":["kubectl","kubectl-plugin","kubectl-plugins"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmetb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-23T21:46:55.000Z","updated_at":"2025-05-11T17:33:34.000Z","dependencies_parsed_at":"2023-12-19T01:36:14.487Z","dependency_job_id":"f7e08d41-adaa-4083-9173-f8073aaf108e","html_url":"https://github.com/ahmetb/kubectl-tree","commit_stats":{"total_commits":58,"total_committers":12,"mean_commits":4.833333333333333,"dds":0.3275862068965517,"last_synced_commit":"bcdaae004cc91b044a43c7bbe300563430d73b05"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fkubectl-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fkubectl-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fkubectl-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fkubectl-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmetb","download_url":"https://codeload.github.com/ahmetb/kubectl-tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254028946,"owners_count":22002282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kubectl","kubectl-plugin","kubectl-plugins"],"created_at":"2024-08-01T06:00:40.614Z","updated_at":"2025-05-13T21:08:09.271Z","avatar_url":"https://github.com/ahmetb.png","language":"Go","funding_links":[],"categories":["Go","others","CLI tools","Tools and Libraries","kubectl Plugins","Developer Workspaces \u0026 Productivity"],"sub_categories":["Command Line Tools","Installing plugins via awesome-kubectl-plugins"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://mdxjs.com\"\u003e\n    \u003cimg alt=\"kubectl tree logo\" src=\"assets/logo/logo.png\" width=\"140\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# kubectl tree\n\nA kubectl plugin to explore ownership relationships between Kubernetes objects\nthrough `ownersReferences` on the objects.\n\nThe [`kubectl lineage`](https://github.com/tohjustin/kube-lineage) plugin is very similar to `kubectl tree`, but it \n[understands](https://github.com/tohjustin/kube-lineage#supported-relationships)\nlogical relationships between some API objects without needing ownerReferences.\n\n## Installation\n\nUse [krew](https://krew.sigs.k8s.io/) plugin manager to install:\n\n    kubectl krew install tree\n    kubectl tree --help\n\n## Demo\n\nExample (Deployment):\n\n![example Kubernetes deployment object hierarchy](assets/example-1.png)\n\nExample (Knative Service):\n\n![example Kubernetes object hierarchy with Knative Service](assets/example-2.png)\n\nExample (Agones Fleet):\n\n![example Kubernetes object hierarchy with Agones Fleet](assets/example-3.png)\n\n## Flags\n\nBy default, the plugin will only search \"namespaced\" objects in the same\nnamespace as the specified object.\n\nYou can use the `-A` or `--all-namespaces` flag to search namespaced and\nnon-namespaced objects in all namespaces.\n\n## Author\n\nAhmet Alp Balkan [@ahmetb](https://twitter.com/ahmetb).\n\n**Special acknowledgement:** This tool is heavily inspired by @nimakaviani's\n[knative-inspect](https://github.com/nimakaviani/knative-inspect/) as it's a\ngeneralized version of it.\n\n## License\n\nApache 2.0. See [LICENSE](./LICENSE).\n\n---\n\nThis is not an official Google project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetb%2Fkubectl-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmetb%2Fkubectl-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetb%2Fkubectl-tree/lists"}