Is it possible to use one Kubernetes Web UI (Dashboard) for several independent clusters, with a simple switch between them? Using a proxy to the dashboard of each cluster is not appropriate, because not all clusters have external access.
Example of an infrastructure:
|:80 |:443
------------- ------------- -------------
| Cluster A | | Cluster B | | Cluster N |
------------- ------------- -------------
| | |
------ management, logging, ci-cd, etc. Environment --------
| Gitlab | Redmine | K8s Dashboard | ELK | ... | ... | ... |
------------------------------------------------------------
Not really. Furthermore, even if it could, kubernetes dashboard requires access to the API server of the cluster in the same way kubectl proxy
does, so if proxy will not work, neither would dashboard.