我尝试在没有驱动器的情况下安装minikube:
minikube start --vm-driver none
当我厌倦了部署我的服务" test-impl"时,我收到了这个错误:
Normal Pulling 4m (x4 over 6m) kubelet, pulling image "A/test-impl"
Warning Failed 4m (x4 over 6m) kubelet, Failed to pull image "A/test-impl": rpc error: code = Unknown desc = Error: image A/test-impl:latest not found
Warning Failed 4m (x4 over 6m) kubelet, Error: ErrImagePull
Warning Failed 4m (x6 over 6m) kubelet, Error: ImagePullBackOff
Normal BackOff 1m (x18 over 6m) kubelet, Back-off pulling image "A/test-impl"
尽管它已经存在,但Kubernetes无法拉动" A / test-impl":
A/test-impl 1.0-SNAPSHOT 9fdbb6bf3513 2 days ago 178 MB
A/test-impl latest 9fdbb6bf3513 2 days ago 178 MB
当我尝试执行" eval $(minikube docker-env)"时,我收到此错误:
bash: none : commande introuvable
请帮忙!
答案 0 :(得分:0)
Kubernetes默认尝试从dockerhub拉出来。你必须将你的图像推送到dockerhub。然后它应该由minikube拉动。
如果你想从私人仓库取款,你必须提供一个注册秘密。