how to access local kubernetes minikube dashboard remotely

前端 未结 9 477
离开以前
离开以前 2021-01-30 14:46

Kubernetes newbie (or rather basic networking) question: Installed single node minikube (0.23 release) on a ubuntu box running in my lan (on IP address 192.168

9条回答
  •  日久生厌
    2021-01-30 15:13

    @Jeff provided the perfect answer, put more hints for newbies.

    1. Start a proxy using @Jeff's script, as default it will open a proxy on '0.0.0.0:8001'.

      kubectl proxy --address='0.0.0.0' --disable-filter=true
      
    2. Visit the dashboard via the link below:

      curl http://your_api_server_ip:8001/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/
      

    More details please refer to the officially doc.

提交回复
热议问题