带有minikube的Kubernetes无法在本地使用驱动程序“ non”启动

时间:2020-06-10 17:20:13

标签: linux docker kubernetes kubectl minikube

我想在已使用virtualbox Ubuntu 18.04 虚拟机的本地计算机上尝试kuberntetes,在此vm中,我正在运行我的所有cmds,在那里我要建立所有的kuberentes本地环境:

我已经安装:

  • minikuvebe VR 1.11.0
  • kuberentes 1.18.3
  • docker版本为 19.03.11

但是我在跑步时:sudo minikube start --vm-driver=none

我没有给出此输出:

?  minikube v1.11.0 sur Ubuntu 18.04
✨  Utilisation du pilote none basé sur le profil existant
?  Démarrage du noeud de plan de contrôle minikube dans le cluster minikube
?  Restarting existing none bare metal machine for "minikube" ...
ℹ️  OS release is Ubuntu 18.04.4 LTS
?  Préparation de Kubernetes v1.18.3 sur Docker 19.03.11...
    ▪ kubelet.resolv-conf=/run/systemd/resolve/resolv.conf

?  Failed to update cluster: updating node: downloading binaries: downloading kubectl: download failed: https://storage.googleapis.com/kubernetes-release/release/v1.18.3/bin/linux/amd64/kubectl?checksum=file:https://storage.googleapis.com/kubernetes-release/release/v1.18.3/bin/linux/amd64/kubectl.sha256: getter: &{Ctx:context.Background Src:https://storage.googleapis.com/kubernetes-release/release/v1.18.3/bin/linux/amd64/kubectl?checksum=file:https://storage.googleapis.com/kubernetes-release/release/v1.18.3/bin/linux/amd64/kubectl.sha256 Dst:/home/srcd/.minikube/cache/linux/v1.18.3/kubectl.download Pwd: Mode:2 Detectors:[0x2b3cb38 0x2b3cb38 0x2b3cb38 0x2b3cb38 0x2b3cb38 0x2b3cb38] Decompressors:map[bz2:0x2b3cb38 gz:0x2b3cb38 tar.bz2:0x2b3cb38 tar.gz:0x2b3cb38 tar.xz:0x2b3cb38 tbz2:0x2b3cb38 tgz:0x2b3cb38 txz:0x2b3cb38 xz:0x2b3cb38 zip:0x2b3cb38] Getters:map[file:0xc000c1a970 http:0xc000c22800 https:0xc000c22820] Dir:false ProgressListener:0x2b152d0 Options:[0xc1f6a0]}: invalid checksum: Error downloading checksum file: Get https://storage.googleapis.com/kubernetes-release/release/v1.18.3/bin/linux/amd64/kubectl.sha256: x509: certificate signed by unknown authority

?  minikube is exiting due to an error. If the above message is not useful, open an issue:
?  https://github.com/kubernetes/minikube/issues/new/choose

似乎是一个证书问题(x509: certificate signed by unknown authority

解决方法?

0 个答案:

没有答案