我在Mac机器上遇到“ minikube start”问题

时间:2019-11-03 09:25:36

标签: kubernetes local minikube

我正在尝试启动minikube,但显示如下

minikube start --vm-driver = virtualbox

?达尔文10.13.6上的minikube v1.5.2 正在下载VM启动映像...

?无法高速缓存ISO:https://storage.googleapis.com/minikube/iso/minikube-v1.5.1.iso:无效的校验和:下载校验和文件时出错:获取https://storage.googleapis.com/minikube/iso/minikube-v1.5.1.iso.sha256:x509:证书由未知授权机构签名

?很抱歉,minikube崩溃了。如果这是意外情况,我们很想收到您的来信: ?https://github.com/kubernetes/minikube/issues/new/choose

kubectl版本

配置错误: *由于打开/Users/ashivan2/.minikube/client.crt而无法读取minikube的client-cert /Users/ashivan2/.minikube/client.crt:没有这样的文件或目录 *由于打开/Users/ash/.minikube/client.key而无法读取minikube的client-key /Users/ash/.minikube/client.key:没有这样的文件或目录 *由于无法打开/Users/ash/.minikube/ca.crt,因此无法读取minikube的证书授权/Users/ashivan2/.minikube/ca.crt:没有此类文件或目录

minikube v1.5.2 on Darwin 10.13.6
?  Downloading VM boot image ...

?  Failed to cache ISO: https://storage.googleapis.com/minikube/iso/minikube-v1.5.1.iso: invalid checksum: Error downloading checksum file: Get https://storage.googleapis.com/minikube/iso/minikube-v1.5.1.iso.sha256: x509: certificate signed by unknown authority

?  Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
?  https://github.com/kubernetes/minikube/issues/new/choose


minikube start -p minikube1 --vm-driver=virtualbox
 [minikube1] minikube v1.5.2 on Darwin 10.13.6
?  Downloading VM boot image ...

?  Failed to cache ISO: https://storage.googleapis.com/minikube/iso/minikube-v1.5.1.iso: invalid checksum: Error downloading checksum file: Get https://storage.googleapis.com/minikube/iso/minikube-v1.5.1.iso.sha256: x509: certificate signed by unknown authority

?  Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
?  https://github.com/kubernetes/minikube/issues/new/choose

I m trying to start minikube but it is showing as following and also I used minikube delete and minikube start but no use

我希望以一种很好的方式启动minikube。 谁能帮我解决以下问题

1 个答案:

答案 0 :(得分:0)

您的计算机似乎无法完全访问Internet。您是否有机会从中国运行minikube?

您可以使用curl加载ISO以进行检查:curl -LO https://storage.googleapis.com/minikube/iso/minikube-v1.5.1.iso

如果无法使用互联网,则可以将ISO文件下载到〜/ .minikube / cache / iso。不过,您还需要适当的docker映像,因此我建议从具有互联网访问权限的计算机上运行一次minikube start-仅下载一次,然后从那里复制〜/ .minikube / cache。