创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
例如:云主机,Centos7.5,4C/8G
Kubernetes版本信息
1.21.5
容器运行时
将 docker version
/ crictl version
/ nerdctl version
结果贴在下方
KubeSphere版本信息
v3.2.1。离线安装,使用kk安装。
问题是什么
离线安装最后一步时,报错。
./kk create cluster -f config-sample.yaml -a kubesphere.tar.gz
17:38:42 CST [CopyImagesToRegistryModule] Copy images to a private registry from an artifact OCI Path
17:38:42 CST message: [LocalHost]
read index.json failed: open /root/kubekey/images/index.json: no such file or directory
17:38:42 CST failed: [LocalHost]
error: Pipeline[CreateClusterPipeline] execute failed: Module[CopyImagesToRegistryModule] exec failed:
failed: [LocalHost] [CopyImagesToRegistry] exec failed after 1 retires: read index.json failed: open /root/kubekey/images/index.json: no such file or directory
[root@mks-master01 ~]#