创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
虚拟机,Ubuntu24.04,2C/4G
Kubernetes版本信息
不涉及
容器运行时
不涉及
KubeSphere版本信息
离线安装,使用kk在ubuntu上进行安装,下载导出制品 artifact
问题是什么
参考文档:离线安装 (kubesphere.io)
报错日志:
# 运行命令
./kk artifact export -m manifest.yaml -o kubesphere.tar.g
# 报错部分
...
14:56:53 CST message: [localhost]
downloading amd64 kubecni v1.2.0 ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 38.6M 100 38.6M 0 0 990k 0 0:00:39 0:00:39 --:--:-- 1035k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 38.6M 100 38.6M 0 0 998k 0 0:00:39 0:00:39 --:--:-- 1026k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 38.6M 100 38.6M 0 0 1018k 0 0:00:38 0:00:38 --:--:-- 1102k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 38.6M 100 38.6M 0 0 1018k 0 0:00:38 0:00:38 --:--:-- 1111k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 38.6M 100 38.6M 0 0 1009k 0 0:00:39 0:00:39 --:--:-- 1080k
15:00:12 CST message: [LocalHost]
Failed to download kubecni binary: curl -L -o /root/kubesphere/kubekey/artifact/cni/v1.2.0/amd64/cni-plugins-linux-amd64-v1.2.0.tgz https://containernetworking.pek3b.qingstor.com/plugins/releases/download/v1.2.0/cni-plugins-linux-amd64-v1.2.0.tgz error: No SHA256 found for kubecni. v1.2.0 is not supported.
15:00:12 CST failed: [LocalHost]
error: Pipeline[ArtifactExportPipeline] execute failed: Module[ArtifactBinariesModule] exec failed:
failed: [LocalHost] [DownloadBinaries] exec failed after 1 retires: Failed to download kubecni binary: curl -L -o /root/kubesphere/kubekey/artifact/cni/v1.2.0/amd64/cni-plugins-linux-amd64-v1.2.0.tgz https://containernetworking.pek3b.qingstor.com/plugins/releases/download/v1.2.0/cni-plugins-linux-amd64-v1.2.0.tgz error: No SHA256 found for kubecni. v1.2.0 is not supported.
已经尝试解决的手动:
- 尝试手动下载cni-plugins-linux-amd64-v1.2.0.tgz放到对应路径还是不行。
- 通过设置`export KKZONE=cn`也不行。