小编Mo *_*eri的帖子

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

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

\n

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

\n

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

\n

第 1 步:我创建了部署:

\n

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

\n

第 2 步:我创建了外部服务:\nkubectl expose deployment hello-node --type=LoadBalancer --port=8080

\n

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

\n

完整的返回消息:

\n

\xe2\x9d\x97 Executing "docker container inspect minikube --format={{.State.Status}}" took an unusually long time: 2.3796077s\n Restarting the docker service may improve performance. …

docker kubernetes minikube

9
推荐指数
2
解决办法
1万
查看次数

标签 统计

docker ×1

kubernetes ×1

minikube ×1