A web-based dashboard for monitoring a Minikube cluster, built with Flask, psutil, and the Kubernetes Python client.
- Real-time monitoring of CPU, memory, disk usage, and network stats.
- Pod-level metrics for CPU and memory usage.
- Responsive design for mobile and desktop views.
- Real-time chart updates with Chart.js.
- User authentication (optional).
- Deployment instructions for local and Kubernetes environments.
- Docker
- Minikube
- Python 3.8+
-
Clone the repository:
git clone https://github.com/your-username/minikube-monitoring-dashboard.git cd minikube-monitoring-dashboard
-
Build the Docker image:
docker build -t minikube-monitoring .
-
Run the Docker container:
docker run -p 5000:5000 minikube-monitoring
-
Access the dashboard at
http://localhost:5000
.
- Monitor Cluster: View real-time metrics for CPU, memory, disk usage, and network stats.
- Pod Metrics: See CPU and memory usage for each pod in the cluster.
- Edit the
config.py
file to customize the application settings.
-
Start Minikube:
minikube start
-
Update kubeconfig:
minikube update-context
-
Run the application:
python app.py
- Build and push the Docker image to a container registry.
- Deploy using Kubernetes manifests or Helm charts (included in the
k8s
directory).
Contributions are welcome! Please submit a pull request or open an issue for any changes or improvements.
This project is licensed under the MIT License - see the LICENSE file for details.