kpeek is a command-line tool that aggregates describe output, container logs, and (optionally) events for a given Kubernetes resource. It simplifies debugging and provides a clean, colorized, human-readable report.
kpeek
finds its Pods automatically.go install github.com/hacktivist123/kpeek@latest
[!NOTE] You might need to add
$HOME/go/bin
to Your$PATH
after installation
git clone https://github.com/hacktivist123/kpeek.git
cd kpeek
go build -o kpeek .
./kpeek --help
go run
git clone https://github.com/hacktivist123/kpeek.git
cd kpeek
go run main.go --help
kpeek [resource/type-name] [flags]
Flag | Purpose |
---|---|
n, --namespace string |
Kubernetes namespace of the resource (default: default). |
--json |
Output in JSON format. |
--no-logs |
Skip retrieving container logs. |
--include-events |
Include events in the output. |
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.
This project is licensed under the MIT License. See the LICENSE file for details.