'How can I access port 8001 with a proxy server even when it's not open?
So I did the following:
minikube dashboard
kubectl proxy
And it says Starting to serve on 127.0.0.1:8001
, however this port is not open on my VM (not included in my firewall rules)
then how am I able to access it via ssh tunneling?
Basically I did this:
ssh -L 12345:localhost:8001 myLogin@myRemoteServer
And then accessed it as:
http://localhost:12345/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/#/pod?namespace=default
Solution 1:[1]
I find this helpful kubectl proxy --address='0.0.0.0' --disable-filter=true
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Safayet Jamil |