KDV

Kubernetes Dependency Viewer (KDV)

Build Lint Docker Lint CodeQL Release Helm Release

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.

Features

Technology Stack

Quick Start (Local with Docker Compose)

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.

Kubernetes Deployment (Helm)

# 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

Important Helm Configuration (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

License

This project is licensed under the terms of the MIT license.