AliyunContainerService / k8s-for-docker-desktop

为Docker Desktop for Mac/Windows开启Kubernetes和Istio。
https://yq.aliyun.com/articles/672675
4.95k stars 1.12k forks source link

k8s一直卡在starting #185

Open kengan opened 2 years ago

kengan commented 2 years ago

查看日志,不断报错 Error while setting up kubernetes: cannot expose the external port: listen tcp 127.0.0.1:6443: bind: An attempt was made to access a socket in a way forbidden by its access permissions.. Retrying in 1s

kengan commented 2 years ago

上述问题解决了,原来是其他程序占用了6443端口,但有出现新问题 failed to lookup googlecode.l.googleusercontent.com.: name exists but no relevant records 请问该问题如何解决

Vijay404 commented 2 years ago

看下hosts文件有没有权限修改,没有的话改成可修改的权限应该就行了 k8s跑起来需要修改本地hosts域名映射