Minikube Dashboard对外暴露访问链接
dashboard
General-purpose web UI for Kubernetes clusters
项目地址:https://gitcode.com/gh_mirrors/da/dashboard

·
Minikube启动Dashboard后默认只能localhost访问,如果需要开放外部访问需要添加一层代理,
##基础环境:
1、MacBook Pro使用Parallels Desktop搭建的Centos7虚拟机
2、虚拟机IP:10.211.55.6
##具体操作:
1、启动Dashbord
minikube dashboard
2、使用proxy代理到虚拟机的指定端口
kubectl proxy --port=8001 --address=‘10.211.55.6’ --accept-hosts=’^.*’ &
启动后宿主机访问链接:
http://10.211.55.6:8001/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/#/overview?namespace=default
##其他问题
1、镜像拉取问题:请自行pull或从国内镜像拉取然后retag
2、端口访问问题:
firewall-cmd --zone=public --add-port=$Port/tcp --permanent
firewall-cmd --reload




General-purpose web UI for Kubernetes clusters
最近提交(Master分支:17 天前 )
2f3f7b01
* feat(pod): add GPU resource allocation support and refactor request/limit functions
* test(pod): add GPU allocation resource validation in unit tests 1 天前
1d1d9f43
* Add argument to Dashboard API to allow for a custom CA bundle
* add tls bundle to auth
* fix CA file usage with custom bundle path
* override client config to after config exiss
* fix whitespace
* Review arguments documentation 7 天前
更多推荐
所有评论(0)