Skip to content

Exciting holiday project idea: building a Kubernetes (k8s) cluster visualizer! Show nodes, pods, services, and more—brought to life in an interactive way. 🚀 This is a conceptual proof of concept (POC) for now, and open to contributions from anyone who finds value in exploring and shaping this idea. Let’s collaborate and make it fun!

License

Notifications You must be signed in to change notification settings

Tatsinnit/k8sVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Cluster Visualization

Overview

This project provides a Kubernetes Cluster Visualization Tool built with Dash, Dash-Cytoscape, and the Kubernetes Python Client. The tool dynamically fetches Kubernetes cluster data and visually represents nodes, pods, and services in an interactive graph.

Key Features:

  • Interactive Visualization: Graphical representation of Kubernetes nodes, pods, and services.
  • Dynamic Layouts: Switch between grid, circle, breadth-first, and random layouts.
  • Node Interactivity: Click nodes to view detailed information.
  • Real-Time Data Fetching: Uses Kubernetes Python Client for live data retrieval.

Getting Started

Prerequisites

  • Python 3.8+
  • Kubernetes Cluster Access
  • kubeconfig configured on your local machine

Installation

  1. Clone the repository: (you are welcome to fork and use your user name etc)

    git clone https://github.com/Tatsinnit/k8sVisualizer.git
    cd k8sVisualizer
  2. Install required dependencies:

    pip3 install -r requirements.txt

Run the Application

python k8s_visualize.py

Open your browser and navigate to: http://127.0.0.1:8050

Screenshare for idea sake

Usage

  • Select Layout: Use the dropdown to change the graph layout.
  • Inspect Nodes: Click on a node to view detailed metadata.

Project Structure

.
├── k8s_visualize.py            # Main Dash application
├── requirements.txt  # Python dependencies
└── README.md         # Project documentation

Technologies Used

  • Dash
  • Dash-Cytoscape
  • Kubernetes Python Client
  • Python 3.x

Contributing

Contributions are welcome! Please submit an issue or pull request.

License

This project is licensed under the MIT License.

Feel free to contribute, share feedback, report bugs, or request features!


Happy Visualizing! 🚀

About

Exciting holiday project idea: building a Kubernetes (k8s) cluster visualizer! Show nodes, pods, services, and more—brought to life in an interactive way. 🚀 This is a conceptual proof of concept (POC) for now, and open to contributions from anyone who finds value in exploring and shaping this idea. Let’s collaborate and make it fun!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages