I want to run k8s-visualizer for Kubernetes in der Google Cloud Platform. Just found how to run it local.
How to run it in the Google Cloud Platform?
The k8s-visualizer is written in a way that it depends on the kubectl proxy
and runs all Ajax calls against /api/...
. It isn't ready to run on the cluser.
If you want to have it on your cluster, you'd have to fork the existing code and adjust all API calls slightly to hit the apiserver.
Once this is done, wrap everything into a container and deploy it into a Pod along with a service.
A good starting point are the open pull requests
Cheers