A comprehensive Kubernetes Dashboard with real-time system monitoring, interactive visualizations, health checks, container security scanning, and dark/light theme support.
Empower your DevOps workflow with advanced cluster insights, security vulnerability detection, and an intuitive UI for Kubernetes resource management.
- π Overview
- β¨ Features
- π Prerequisites
- βοΈ Installation & Setup
- π How It Works
- π‘ Security & Vulnerability Scanning
- βοΈ Technology Stack
- π Deployment Options
- π License
- π Support & Contributions
The Enhanced Kubernetes Dashboard provides a modern, feature-rich interface for monitoring, managing, and securing your Kubernetes clusters.
πΉ Real-time visualizations β Interactive charts for CPU, memory, and storage metrics
πΉ Comprehensive cluster view β Monitor deployments, pods, services, and more
πΉ Dark/Light theme support β Comfortable viewing in any environment
πΉ Security scanning with Trivy β Detect vulnerabilities in container images
πΉ Pod logs viewer β Easily access and filter container logs
πΉ Modern responsive UI β Optimized for desktop and mobile devices
πΉ Health status monitoring β Track cluster component health
This dashboard enables DevOps engineers, SREs, and developers to efficiently manage their Kubernetes clusters while ensuring security best practices.
- Modern dashboard layout with sidebar navigation
- Dark/light theme support with system preference detection
- Responsive design for all device sizes
- Interactive charts for system metrics
- Improved notifications system
- Real-time metric charts for CPU, memory, and storage
- Pod status visualization with color-coded status indicators
- Vulnerability summary charts for security scans
- Historical metrics for trend analysis
- Enhanced pod management with detailed status information
- Advanced log viewer with filtering capabilities
- Improved security scanner with vulnerability classification
- Health status indicators for cluster components
- Streamlined namespace management
- Detailed vulnerability reports with severity classification
- Export functionality for scan results
- Component-level health monitoring
Before installing the Kubernetes Dashboard, ensure you have the following dependencies installed:
πΉ Python 3.8+ β Required for Flask backend.
πΉ pip β Python package manager.
πΉ Docker & Kubernetes Cluster β To monitor cluster resources.
πΉ kubectl β Kubernetes command-line tool.
πΉ Trivy β For container image vulnerability scanning.
Install kubectl and Trivy if not already installed:
# Install kubectl (for Kubernetes resource monitoring)
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl
sudo mv kubectl /usr/local/bin/
# Install Trivy (for security scanning)
brew install aquasecurity/trivy/trivy # For macOS
sudo apt install trivy # For Ubuntu/Debian
git clone https://github.com/NotHarshhaa/kubernetes-dashboard.git
cd kubernetes-dashboard
pip install -r requirements.txt
python systeminfo.py
π The dashboard is now accessible at http://localhost:5000.
- Interactive charts display live CPU, memory, and storage metrics
- Historical data tracking shows performance trends over time
- Auto-refresh functionality keeps data current
- Choose a namespace from the dropdown to filter resources
- View deployments, pods, and services specific to the selected namespace
- Pod status visualization shows running, pending, and failed pods
- Enter a Docker image name (e.g.,
nginx:latest
) - Get a comprehensive vulnerability report with severity classifications
- Export scan results for documentation and compliance
- Select a pod to view its logs
- Filter log content to find specific information
- Real-time log updates for active monitoring
This dashboard integrates Trivy to perform real-time security assessments of Docker images.
β
Vulnerability summary with severity counts (Critical, High, Medium, Low)
β
Detailed vulnerability reports with CVE information
β
Export functionality for documentation and compliance
β
Visual indicators for security status
- Enter the Docker image name in the scan form
- Click the Scan button
- View the vulnerability summary and detailed report
- Export results if needed
Component | Technology |
---|---|
Frontend | HTML5, CSS3, JavaScript ES6 |
UI Framework | Custom CSS with Flexbox/Grid |
Charts | Chart.js |
Backend | Python Flask |
Kubernetes API | Python Kubernetes Client |
Security Scanning | Trivy |
Deployment | Docker, Kubernetes |
You can deploy the Kubernetes Dashboard using Docker, Kubernetes, or a cloud platform.
docker build -t kubernetes-dashboard .
docker run -p 5000:5000 kubernetes-dashboard
kubectl apply -f k8s-manifest.yaml
You can deploy the dashboard on a Kubernetes cluster running on AWS EKS, GCP GKE, or Azure AKS.
This project is licensed under the MIT License β free for personal and commercial use.
Contributions are welcome! If you'd like to improve this project, feel free to submit a pull request.
If you find this repository helpful and plan to use it for learning, please give it a star. Your support is appreciated!
This project is crafted by Harshhaa π‘.
I'd love to hear your feedback! Feel free to share your thoughts.