lework/kainstall

kubeadm init failed.

huagelong opened this issue · 4 comments

下载脚本

wget https://ghproxy.com/https://raw.githubusercontent.com/lework/kainstall/master/kainstall-ubuntu.sh

报下面的错误,帮忙看看是什么原因?

error execution phase preflight: [preflight] Some fatal errors occurred:
        [ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/kainstall/kube-apiserver:v1.25.0: output: E0831 09:51:30.930600   27372 remote_image.go:238] "PullImage from image service failed" err="rpc error: code = NotFound desc = failed to pull and unpack image \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-apiserver:v1.25.0\": failed to resolve reference \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-apiserver:v1.25.0\": registry.cn-hangzhou.aliyuncs.com/kainstall/kube-apiserver:v1.25.0: not found" image="registry.cn-hangzhou.aliyuncs.com/kainstall/kube-apiserver:v1.25.0"
time="2022-08-31T09:51:30+08:00" level=fatal msg="pulling image: rpc error: code = NotFound desc = failed to pull and unpack image \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-apiserver:v1.25.0\": failed to resolve reference \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-apiserver:v1.25.0\": registry.cn-hangzhou.aliyuncs.com/kainstall/kube-apiserver:v1.25.0: not found"
, error: exit status 1
        [ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/kainstall/kube-controller-manager:v1.25.0: output: E0831 09:51:32.328803   27397 remote_image.go:238] "PullImage from image service failed" err="rpc error: code = NotFound desc = failed to pull and unpack image \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-controller-manager:v1.25.0\": failed to resolve reference \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-controller-manager:v1.25.0\": registry.cn-hangzhou.aliyuncs.com/kainstall/kube-controller-manager:v1.25.0: not found" image="registry.cn-hangzhou.aliyuncs.com/kainstall/kube-controller-manager:v1.25.0"
time="2022-08-31T09:51:32+08:00" level=fatal msg="pulling image: rpc error: code = NotFound desc = failed to pull and unpack image \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-controller-manager:v1.25.0\": failed to resolve reference \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-controller-manager:v1.25.0\": registry.cn-hangzhou.aliyuncs.com/kainstall/kube-controller-manager:v1.25.0: not found"
, error: exit status 1
        [ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/kainstall/kube-scheduler:v1.25.0: output: E0831 09:51:33.818145   27422 remote_image.go:238] "PullImage from image service failed" err="rpc error: code = NotFound desc = failed to pull and unpack image \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-scheduler:v1.25.0\": failed to resolve reference \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-scheduler:v1.25.0\": registry.cn-hangzhou.aliyuncs.com/kainstall/kube-scheduler:v1.25.0: not found" image="registry.cn-hangzhou.aliyuncs.com/kainstall/kube-scheduler:v1.25.0"
time="2022-08-31T09:51:33+08:00" level=fatal msg="pulling image: rpc error: code = NotFound desc = failed to pull and unpack image \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-scheduler:v1.25.0\": failed to resolve reference \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-scheduler:v1.25.0\": registry.cn-hangzhou.aliyuncs.com/kainstall/kube-scheduler:v1.25.0: not found"
, error: exit status 1
        [ERROR ImagePull]: failed to pull image registry.cn-hangzhou.aliyuncs.com/kainstall/kube-proxy:v1.25.0: output: E0831 09:51:35.166799   27447 remote_image.go:238] "PullImage from image service failed" err="rpc error: code = NotFound desc = failed to pull and unpack image \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-proxy:v1.25.0\": failed to resolve reference \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-proxy:v1.25.0\": registry.cn-hangzhou.aliyuncs.com/kainstall/kube-proxy:v1.25.0: not found" image="registry.cn-hangzhou.aliyuncs.com/kainstall/kube-proxy:v1.25.0"
time="2022-08-31T09:51:35+08:00" level=fatal msg="pulling image: rpc error: code = NotFound desc = failed to pull and unpack image \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-proxy:v1.25.0\": failed to resolve reference \"registry.cn-hangzhou.aliyuncs.com/kainstall/kube-proxy:v1.25.0\": registry.cn-hangzhou.aliyuncs.com/kainstall/kube-proxy:v1.25.0: not found"
, error: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher

相同错误

离线版本也出现了这个错误

新版本的镜像地址改了,kubernetes/kubernetes#109938

现在可以下载了。我同步到阿里云了