简体   繁体   English

minikube 启动失败

[英]minikube failed to start

Hello so i was using yesterday minikube and it was working fine but today i was trying to start with minikube start command and it give the following errors:您好,所以我昨天使用的是 minikube,它工作正常,但今天我试图从minikube start命令开始,它给出了以下错误: minikube 启动

and after running minikube status it give the following result:并在运行minikube status后给出以下结果: minikube 状态

Thanks in advance for any help.提前感谢您的帮助。

You are getting the following error:您收到以下错误:

Exiting due to GUEST_START: Failed kubeconfig update: could not read config: Error decoding config from data control character are not allowed由于 GUEST_START 退出:kubeconfig 更新失败:无法读取配置:不允许从数据控制字符解码配置错误

and

getting k8s client: client config: error loading config file "C:\Users<Your User>/.kube/config control characters are not allowed获取 k8s 客户端:客户端配置:错误加载配置文件“C:\Users<Your User>/.kube/config control characters are not allowed

Those errors indicates that your $KUBECONFIG has an invalid character in it.这些错误表明您的$KUBECONFIG中包含无效字符。

Troubleshooting故障排除

For the future use, please provide more detailed information.为了将来的使用,请提供更详细的信息。 It's well described in Minikube Troubleshooting . Minikube Troubleshooting中有很好的描述。 The following commands might provide useful information for troubleshooting:以下命令可能会为故障排除提供有用的信息:

$ minikube logs
$ minikube start --alsologtostderr -v=2
$ kubectl config view

In minikube output there is also updating the running virtualbox "minikube" VM It might be related with network changes.在 minikube output 中,还updating the running virtualbox "minikube" VM这可能与网络变化有关。

Possible Solution可能的解决方案

  • Remove config file from C:\Users\<Your User>/.kube/ and start minikube again.C:\Users\<Your User>/.kube/删除配置文件并再次启动 minikube。
  • Update your Minikube to newest version (current is 1.16).将您的Minikube更新到最新版本(当前为 1.16)。
  • Recreate your minikube cluster using minikube delete and create new one.使用minikube delete重新创建您的 minikube 集群并创建一个新集群。
  • Execite minikube update context .执行minikube update context

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

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