-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minikube启动失败 #115
Comments
@denverdino |
😄 minikube v1.24.0 on Centos 7.9.2009 (arm64) ✅ Using image repository registry.cn-hangzhou.aliyuncs.com/google_containers ❌ Exiting due to K8S_INSTALL_FAILED: updating control plane: downloading binaries: downloading kubelet: download failed: https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.22.3/bin/linux/arm64/kubelet?checksum=file:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.22.3/bin/linux/arm64/kubelet.sha256: getter: &{Ctx:context.Background Src:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.22.3/bin/linux/arm64/kubelet?checksum=file:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.22.3/bin/linux/arm64/kubelet.sha256 Dst:/home/work/.minikube/cache/linux/v1.22.3/kubelet.download Pwd: Mode:2 Umask:---------- Detectors:[0x3083e58 0x3083e58 0x3083e58 0x3083e58 0x3083e58 0x3083e58 0x3083e58] Decompressors:map[bz2:0x3083e58 gz:0x3083e58 tar:0x3083e58 tar.bz2:0x3083e58 tar.gz:0x3083e58 tar.xz:0x3083e58 tar.zst:0x3083e58 tbz2:0x3083e58 tgz:0x3083e58 txz:0x3083e58 tzst:0x3083e58 xz:0x3083e58 zip:0x3083e58 zst:0x3083e58] Getters:map[file:0x4000a46400 http:0x40011c7b20 https:0x40011c7b40] Dir:false ProgressListener:0x3045b50 Insecure:false Options:[0x142bbc0]}: invalid checksum: Error downloading checksum file: bad response code: 404 |
过去没有配置 arm64 的binary同步,我修改一下同步脚本。 |
好的多谢,多久能生效呢 |
同步中,估计需要几个小时 |
麻烦再帮忙看下这个问题,想启动一个多节点的minikube, 启动了很长时间没有成功,拉镜像好像没有访问国内的仓库,谢谢 stderr: |
启动命令? |
minikube start --nodes 3 -p multinode-demo --image-mirror-country=cn |
❌ Exiting due to K8S_INSTALL_FAILED: updating control plane: downloading binaries: downloading kubectl: download failed: https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.20.2/bin/linux/amd64/kubectl?checksum=file |
1.20 EOL in 28 Feb 2022 |
重现问题所需的命令:minikube start --image-mirror-country=cn --registry-mirror=https://p9uapo9p.mirror.aliyuncs.com
失败的命令的完整输出:
Exiting due to K8S_INSTALL_FAILED: updating control plane: downloading binaries: downloading kubelet: download failed: https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.24.1/bin/linux/arm64/kubelet?checksum=file:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.24.1/bin/linux/arm64/kubelet.sha256: getter: &{Ctx:context.Background Src:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.24.1/bin/linux/arm64/kubelet?checksum=file:https://kubernetes.oss-cn-hangzhou.aliyuncs.com/kubernetes-release/release/v1.24.1/bin/linux/arm64/kubelet.sha256 Dst:/home/work/.minikube/cache/linux/arm64/v1.24.1/kubelet.download Pwd: Mode:2 Umask:---------- Detectors:[0x3237278 0x3237278 0x3237278 0x3237278 0x3237278 0x3237278 0x3237278] Decompressors:map[bz2:0x3237278 gz:0x3237278 tar:0x3237278 tar.bz2:0x3237278 tar.gz:0x3237278 tar.xz:0x3237278 tar.zst:0x3237278 tbz2:0x3237278 tgz:0x3237278 txz:0x3237278 tzst:0x3237278 xz:0x3237278 zip:0x3237278 zst:0x3237278] Getters:map[file:0x40003da760 http:0x400147e1e0 https:0x400147e230] Dir:false ProgressListener:0x31f3150 Insecure:false DisableSymlinks:false Options:[0x14f9120]}: invalid checksum: Error downloading checksum file: bad response code: 404
minikube logs
命令的输出:使用的操作系统版本:Linux localhost.localdomain 5.11.12-300.el7.aarch64 #1 SMP Thu Aug 19 09:02:08 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
The text was updated successfully, but these errors were encountered: