gcp-live-k8s-visualizer
gcp-live-k8s-visualizer copied to clipboard
<h3>Unauthorised</h3>
The instructions are deficient and the code appears broken. Without the www-prefix below, we could not get this to work and instead received "Unauthorised"
I'm running against GKE and have:
kubectl version
Client Version: version.Info{Major:"1", Minor:"1", GitVersion:"v1.1.3", GitCommit:"6a81b50c7e97bbe0ade075de55ab4fa34f049dc2", GitTreeState:"clean"}
Server Version: version.Info{Major:"1", Minor:"1", GitVersion:"v1.1.4", GitCommit:"a5949fea3a91d6a50f40a5684e05879080a4c61d", GitTreeState:"clean"}
We worked out that minimally, the command should be:
kubectl proxy --www=/path/to/gcp-live-k8s-visualizer/ --www-prefix=/my-mountpoint/ --api-prefix=/api/
And then, 127.0.0.1:8001/my-mountpoint/
Works!
I have same issue.
same issue + 1
I hit the same issue.
May be we can visit the 27.0.0.1:8001/my-mountpoint/static ?
Just do
kubectl proxy --www ./gcp-live-k8s-visualizer --accept-hosts="^.*$" --address="0.0.0.0" --port=9999
and then you can call it by http://MASTER_IP:9999/static/
This issue can be closed as it's related to the kubectl proxy itself, not to visualizer.
@kamilgregorczyk I tried the same but it shows another eeror i.t `{ "kind": "Status", "apiVersion": "v1", "metadata": {
}, "status": "Failure", "message": "no endpoints available for service "kubernetes-dashboard"", "reason": "ServiceUnavailable", "code": 503 }`