无法从浏览器访问我的 minikube 集群(❗ 因为您在 Windows 上使用 Docker 驱动程序,所以需要打开终端才能运行它。)

2023-11-22

我正在尝试从浏览器访问一个简单的 minikube 集群,但我不断收到以下信息:❗ Because you are using a Docker driver on windows, the terminal needs to be open to run it.

我已经为集群创建了一个外部服务,端口号为 30384,并且我在 docker 容器中运行 minikube。

我正在按照“Hello Minikube”示例来创建我的部署。

第1步:我创建了部署:

kubectl create deployment hello-node --image=k8s.gcr.io/echoserver:1.4

Step2:我创建了外部服务:kubectl expose deployment hello-node --type=LoadBalancer --port=8080

第 3 步:我运行了该服务,这就是我塞满的地方 ”minikube service hello-node

完整的返回消息:

❗ Executing "docker container inspect minikube --format={{.State.Status}}" took an unusually long time: 2.3796077s

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

无法从浏览器访问我的 minikube 集群(❗ 因为您在 Windows 上使用 Docker 驱动程序,所以需要打开终端才能运行它。) 的相关文章

随机推荐

Powered by Hwhale