V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
dunhanson
V2EX  ›  程序员

minikube dashboard 没有 GUI 界面,如何让其它电脑访问?

  •  
  •   dunhanson · Feb 20, 2019 · 5756 views
    This topic created in 2623 days ago, the information mentioned may be changed or developed.

    我装在虚拟机上,虚拟机跑的是 CentOS,没有图像界面

    4 replies    2019-04-11 14:24:33 +08:00
    dunhanson
        1
    dunhanson  
    OP
       Feb 20, 2019
    昨晚装成功的,之前一直用的 VirutalBox,后来改用 VMware 了
    southwolf
        2
    southwolf  
       Feb 21, 2019
    绑个外网 IP …
    dunhanson
        3
    dunhanson  
    OP
       Feb 21, 2019
    @southwolf 你这么一说,我想到了 FRP,不过有简单的方式吗?
    stirlingx
        4
    stirlingx  
       Apr 11, 2019
    启动 dashboard:

    minikube dashboard
    为 dashboard 添加外部访问代理,此处的 IP 为本地系统 IP:

    kubectl proxy --port=8001 --address='10.0.0.2' --accept-hosts='^.*' &
    通过 url: http://10.0.0.2:8001/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/ 访问 dashboard。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3796 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 04:39 · PVG 12:39 · LAX 21:39 · JFK 00:39
    ♥ Do have faith in what you're doing.