Real-time Dashboard
GreenKube ships with a modern SvelteKit dashboard that provides a complete overview of your Kubernetes cluster’s energy consumption, carbon emissions, and cost metrics — all in real time.
Overview
Section titled “Overview”The dashboard is served directly from the GreenKube container alongside the REST API, so there’s nothing extra to install. Once deployed, access it at http://<your-service>:8000.
Key Capabilities
Section titled “Key Capabilities”Cluster Overview
Section titled “Cluster Overview”- Energy consumption (Watts) per node and per namespace
- Carbon emissions (gCO₂e) with breakdown by workload
- Cost estimates from OpenCost integration
- Recommendation summary with estimated savings
Per-Pod Metrics
Section titled “Per-Pod Metrics”Drill down into individual pods to see:
- CPU and memory utilization vs. requests/limits
- Network I/O (bytes sent/received)
- Disk I/O and storage usage
- Pod restart count and uptime
- GPU utilization (if applicable)
Node Inventory
Section titled “Node Inventory”A complete view of your cluster nodes including:
- Hardware specs (CPU model, cores, RAM, TDP)
- Cloud provider and region
- Carbon zone mapping
- Current power draw (estimated)
Interactive Charts
Section titled “Interactive Charts”- Time-series charts with configurable time ranges
- Stacked area charts for namespace comparison
- Trend analysis with daily/weekly/monthly grouping
- Export chart data as CSV or JSON
Architecture
Section titled “Architecture”The dashboard is a SvelteKit SPA (Single Page Application) that communicates with the GreenKube FastAPI backend:
Browser → SvelteKit SPA → FastAPI REST API → PostgreSQL/SQLite/ESAll static assets are bundled and served by the same container, ensuring zero additional infrastructure is required.
Screenshots
Section titled “Screenshots”The dashboard automatically adapts to light and dark themes and is fully responsive for tablet and desktop use.
Getting Started
Section titled “Getting Started”After installing GreenKube, access the dashboard:
kubectl port-forward svc/greenkube-api 8000:8000 -n greenkubeThen open http://localhost:8000 in your browser.
Related
Section titled “Related”- Dashboard User Guide — Detailed usage instructions
- REST API Reference — Endpoints powering the dashboard
- Architecture Overview — How data flows through the system