KubeDraw is a Python-based tool designed to simplify the visualization of Kubernetes infrastructure. With its straightforward command-line interface, KubeDraw allows users to quickly generate detailed diagrams of their Kubernetes cluster architecture.
To use KubeDraw, you'll need to install the following dependencies:
kubernetes
: Python client for Kubernetes. You can install it via pip:
pip install kubernetes
graphviz
: Graph visualization software. You can install it via pip:
pip install graphviz
diagrams
: Python library for creating diagrams. You can install it via pip:
pip install diagrams
To generate a visual diagram of your Kubernetes cluster, simply run:
git clone https://github.com/B0nam/kubedraw.git
python /src/kubedraw
This will create a visual representation of all namespaces.
You can specify a namespace by using:
git clone https://github.com/B0nam/kubedraw.git
python /src/kubedraw your-namespace
Here's a basic example of a KubeDraw diagram:
Contributions are welcome! Please feel free to submit issues or pull requests.