Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker desktop for windows 2.0.3.0,k8s无法启动 #25

Closed
ShaoHans opened this issue Mar 26, 2019 · 10 comments
Closed

docker desktop for windows 2.0.3.0,k8s无法启动 #25

ShaoHans opened this issue Mar 26, 2019 · 10 comments

Comments

@ShaoHans
Copy link

ShaoHans commented Mar 26, 2019

您好,我的docker desktop for windows 版本是 2.0.3.0,k8s-for-docker-desktop的分支是master,但k8s一直处于starting状态,截取了部分日志如下

`[22:34:12.220][VpnKit ][Info ] vpnkit.exe: Expired 256 UDP NAT rules

[22:34:12.908][ApiProxy ][Error ] time="2019-03-26T22:34:12+08:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[22:34:13.901][ApiProxy ][Error ] time="2019-03-26T22:34:13+08:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[22:34:14.903][ApiProxy ][Error ] time="2019-03-26T22:34:14+08:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[22:34:24.352][ApiProxy ][Info ] time="2019-03-26T22:34:24+08:00" msg="Cluster is ready"
[22:34:24.352][ApiProxy ][Info ] time="2019-03-26T22:34:24+08:00" msg="0/3 system pods running, found labels but still waiting for labels k8s-app=kube-dns, component=kube-controller-manager, component=kube-apiserver..."
[22:34:24.352][ApiProxy ][Info ] time="2019-03-26T22:34:24+08:00" msg="Waiting for system pods"
[22:34:24.679][ApiProxy ][Info ] time="2019-03-26T22:34:24+08:00" msg="0/3 system pods running, found labels but still waiting for labels k8s-app=kube-dns, component=kube-controller-manager, component=kube-apiserver..."
[22:34:25.676][ApiProxy ][Info ] time="2019-03-26T22:34:25+08:00" msg="0/3 system pods running, found labels but still waiting for labels k8s-app=kube-dns, component=kube-controller-manager, component=kube-apiserver..."
[22:34:26.672][ApiProxy ][Info ] time="2019-03-26T22:34:26+08:00" msg="0/3 system pods running, found labels but still waiting for labels k8s-app=kube-dns, component=kube-controller-manager, component=kube-apiserver..."
[22:34:27.361][ApiProxy ][Info ] time="2019-03-26T22:34:27+08:00" msg="0/3 system pods running, found labels but still waiting for labels k8s-app=kube-dns, component=kube-controller-manager, component=kube-apiserver..."
[22:34:27.676][ApiProxy ][Info ] time="2019-03-26T22:34:27+08:00" msg="0/3 system pods running, found labels but still waiting for labels k8s-app=kube-dns, component=kube-controller-manager, component=kube-apiserver..."`

docker版本信息:
image

拉取的镜像信息如下:
image

@ShaoHans ShaoHans changed the title docker desktop for windows 2.0.3.0,ka docker desktop for windows 2.0.3.0,k8s无法启动 Mar 26, 2019
@denverdino
Copy link
Collaborator

参见 #23
Mac查看Docker Desktop日志

pred='process matches ".*(ocker|vpnkit).*"
  || (process in {"taskgated-helper", "launchservicesd", "kernel"} && eventMessage contains[c] "docker")'
/usr/bin/log stream --style syslog --level=debug --color=always --predicate "$pred"

如果是windows看日志的话直接在C:\ProgramData\DockerDesktop下的service.txt打开就行了

@ShaoHans
Copy link
Author

参见 #23
Mac查看Docker Desktop日志

pred='process matches ".*(ocker|vpnkit).*"
  || (process in {"taskgated-helper", "launchservicesd", "kernel"} && eventMessage contains[c] "docker")'
/usr/bin/log stream --style syslog --level=debug --color=always --predicate "$pred"

如果是windows看日志的话直接在C:\ProgramData\DockerDesktop下的service.txt打开就行了

我就是看了这个 #23 issue,没有解决 我的问题,然后才新开了issue

@kayleyang
Copy link

Mac上同样的版本,同样的问题

@JadynWong
Copy link

同样问题 日志一样

@dante7qx
Copy link

同样的问题,有解决的方法吗?

@wdnb
Copy link

wdnb commented May 31, 2019

同样的问题

@wdnb
Copy link

wdnb commented Jun 3, 2019

我这里
用2.0.4.*和2.0.1.x/2.0.2.x/2.0.3.x 版本 都同样的报错,现在换成2.0.0.3安装通过 没报错了。

@denverdino
Copy link
Collaborator

hmm, Docker Desktop的Windows和Mac版本不一致呢

@kinjes
Copy link

kinjes commented Jun 26, 2019

I see the solution for this issues
docker/for-win#1962 (comment)

@denverdino
Copy link
Collaborator

也有可能是 docker/for-win/issues/3769

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants