KDV (Kubernetes Dependency Viewer) is an open-source tool designed to visualize the relationships and dependencies between various Kubernetes resources within a cluster. It provides an intuitive, interactive graph interface to help developers and DevOps engineers understand how workloads, services, configurations, and storage are connected.
Deployment/StatefulSet/DaemonSet ➡️ PodService ➡️ PodIngress ➡️ ServicePod ➡️ ConfigMap, Secret, PersistentVolumeClaimPersistentVolumeClaim ➡️ PersistentVolumeCronJob ➡️ Job ➡️ Pod~/.kube/config when run locally or uses the ServiceAccount token when running in-cluster.To run KDV locally using your existing ~/.kube/config:
# Clone the repository
git clone https://github.com/AlexPokatilov/KDV.git
cd KDV
# Run with docker-compose
docker compose up -d
Open your browser and navigate to http://localhost:8000.
# Add the Helm repository
helm repo add kdv https://alexpokatilov.github.io/KDV
helm repo update
# Install the chart
helm install kdv kdv/kdv --namespace kdv --create-namespace
values.yaml)By default, the Helm chart creates a Role and RoleBinding to allow KDV to read resources only in the namespace it is deployed to.
If you want KDV to view resources across the entire cluster, enable cluster-scoped RBAC:
rbac:
create: true
clusterScoped: true
This project is licensed under the terms of the MIT license.