win10记minikube启动失败,爬坑排错

错误信息:

X 缓存镜像时失败: Caching images for kubeadm: caching images: caching image "C:\\Users\\86136\\.minikube\\cache\\images\\k8s.gcr.io\\kube-scheduler_v1.18.0": nil image for k8s.gcr.io/kube-scheduler:v1.18.0: Get https://k8s.gcr.io/v2/: dial tcp 74.125.23.82:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

不翻墙解决:

minikube start --vm-driver=virtualbox --registry-mirror=https://ytsch4ca.mirror.aliyuncs.com --image-repository=registry.aliyuncs.com/google_containers --iso-url=https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.8.0.iso

 

log:

* Microsoft Windows 10 Home China 10.0.18363 Build 18363 上的 minikube v1.9.2

* 根据现有的配置文件使用 virtualbox 驱动程序

* 正在使用镜像存储库 registry.aliyuncs.com/google_containers

* 正在下载 VM boot image...

> minikube-v1.8.0.iso: 173.56 MiB / 173.56 MiB [ 100.00% 2.13 MiB p/s 1m21s

* Starting control plane node m01 in cluster minikube

* Downloading Kubernetes v1.18.0 preload ...

* Updating the running virtualbox "minikube" VM ...

* 正在 Docker 19.03.8 中准备 Kubernetes v1.18.0…

> kubelet.sha256: 65 B / 65 B [--------------------------] 100.00% ? p/s 0s

> kubectl.sha256: 65 B / 65 B [--------------------------] 100.00% ? p/s 0s

> kubeadm.sha256: 65 B / 65 B [--------------------------] 100.00% ? p/s 0s

> kubeadm: 37.96 MiB / 37.96 MiB [---------------] 100.00% 1.21 MiB p/s 32s

> kubectl: 41.98 MiB / 41.98 MiB [-----------] 100.00% 599.09 KiB p/s 1m12s

> kubelet: 108.01 MiB / 108.01 MiB [----------] 100.00% 889.60 KiB p/s 2m5s

* Enabling addons: default-storageclass, storage-provisioner

* 完成!kubectl 已经配置至 "minikube"

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值