Multicluster Kubernetes Dashboard
This Dashboard demonstrates how to monitor multiple Kubernetes clusters in an aggregated manner using logic in queries to extract relevant information and present it in simplified tables.
Clone our Samples Repository
git clone https://github.com/kubling-community/kubling-dashboard-examples.gitNavigate to the Example Directory
cd k8s-multicluster-metricsKubernetes Configuration
- Edit the file
kube_cluster_1.yamland add the kubeconfig content. - Repeat this process for
kube_cluster_2.yamlif you have additional clusters to configure. - To add more clusters, create additional files like
kube_cluster_[n].yamland configure them accordingly.
VDB Configuration
- Open
descriptor/vdb/DashboardVDB.yamland ensure the list ofKUBERNETESdata sources matches the configuration files edited or created in the previous step.
Run it!
sh run-compose.shSuperset
Login
Use admin/admin to log into Superset.
Open Pre-Configured Dashboards
- In the top menu, click on
Dashboardsand selectKubernetes Monitoringto view the current clusters’ statuses. - Alternatively, select
Kubernetes Time Seriesto view two simple time series charts showing the historical data of reserved CPU cores and memory.