简体   繁体   English

“minikube 启动”在 mac 上失败

[英]"minikube start" failed on mac

When I attempt to run minikube on locally, I got this error:当我尝试在本地运行 minikube 时,出现此错误:

minikube start
Starting local Kubernetes v1.8.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
E1229 09:52:55.432296    8935 start.go:223] Error updating cluster:  Error updating localkube from uri: Error creating localkube asset from url: Error opening file asset: /Users/user007/.minikube/cache/localkube/localkube-v1.8.0: open /Users/user007/.minikube/cache/localkube/localkube-v1.8.0: no such file or directory

How can I fix this problem?我该如何解决这个问题? I tried many ways, but no one worked.😢我尝试了很多方法,但没有一个成功。😢

My system is macOS Sierra.我的系统是 macOS Sierra。

Looks like this is a recurring issue.看起来这是一个反复出现的问题。 Check out the github issues here: https://github.com/kubernetes/minikube/issues/2468在此处查看 github 问题: https : //github.com/kubernetes/minikube/issues/2468

I was having this issue and followed Chris Darby link ( https://github.com/kubernetes/minikube/issues/2468 ).我遇到了这个问题并关注了 Chris Darby 链接( https://github.com/kubernetes/minikube/issues/2468 )。

I managed to fix it with the following workaround (considering the new version 1.9.0):我设法使用以下解决方法修复它(考虑到新版本 1.9.0):

  • Download localkube下载localkube
  • Rename it to localkube-v1.9.0将其重命名为 localkube-v1.9.0
  • Copy the file in ~/.minikube/cache/localkube/localkube-v1.9.0将文件复制到 ~/.minikube/cache/localkube/localkube-v1.9.0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM