Access Local Minikube Dashboard Remotely
Assuming you have a working minikube & kubectl set up. If you need help with that, take a look here.
Setup: My minikube was running in a separate desktop. I wanted to access the dashboard on my macbook pro browser.
First start the minikube proxy by running the command
kubectl proxy &
The previous command exposes the dashboard on:
http://localhost:8001
We use ssh port forwarding to forward the port to your machine by:
ssh -R 30000:127.0.0.1:8001 ${your-machine-user}@{your-machine-ip}
Now we can access the Dashboard by hitting this url in your browser:
http://localhost:30000/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/#!/pod?namespace=default
Remember, the above link will work as long the ssh session we created above is alive.