docker Desktop 之前已经跑能正常在跑docker 跟K8S 了,今天中午一觉起来,突然Mac 死机了(可能是跑了虚拟机,pycharm,docker,openwhisk,kubeless.. cpu ,内存跑的风扇呼呼响)

重启机器后,docker desktop 一看,kubenetes 又犯病了,一直在kubernetes is starting 中.

异常日志:

2020-09-23 13:34:36.757112+0800  localhost kernel[0]: process com.docker.backe[729] caught waking the CPU 45001 times over ~130 seconds, averaging 345 wakes / second and violating a limit of 45000 wakes over 300 seconds.
2020-09-23 13:34:38.524031+0800  localhost com.docker.driver.amd64-linux[793]: cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)

2020-09-23 13:36:41.496292+0800  localhost com.docker.driver.amd64-linux[793]: cannot get lease for master node: Get "https://kubernetes.docker.internal:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/docker-desktop": net/http: TLS handshake timeout

估计是master 节点有问题。

解决方法:

Deleting the PKI folder (~/Library/Group Containers/group.com.docker/pki) and restarting Docker works around the issue.

没折腾为啥导致这个问题了,继续办正事先。。

 

我的版本:

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐