KubeTracer is a tool designed to establish and visualize the lineage between all Kubernetes components, such as ConfigMap, Pod, Service, Secret, CRD, DaemonSet, StatefulSet, and more. It helps users understand the relationships and dependencies within their Kubernetes clusters, making it easier to troubleshoot, audit, and optimize resource usage.
- Discover and map relationships between Kubernetes resources
- Visualize dependencies and lineage across the cluster
- Support for core and custom resources (CRDs)
- Useful for debugging, auditing, and compliance
- Go 1.22 or higher
- Docker (for containerized deployment)
- Kubernetes cluster access
- kubectl configured
- Clone the repository:
git clone https://github.com/koustreak/kubetracer.git cd kubetracer - Build the application:
make build
- Run KubeTracer:
./bin/kubetracer
- Build Docker image:
make docker-build
- Deploy to Kubernetes:
make deploy-kind # For KIND cluster # or kubectl apply -f deployments/kubernetes/
- Pod
- Service
- ConfigMap
- Secret
- CRD (Custom Resource Definitions)
- DaemonSet
- StatefulSet
- (and more)
- Visualizing application architecture
- Troubleshooting resource issues
- Auditing and compliance
- Understanding cluster configuration
Contributions are welcome! Please open issues or submit pull requests.
This project is licensed under the MIT License.