kubekey
kubekey copied to clipboard
kk artifact export报错
What is version of KubeKey has the issue?
master
What is your os environment?
ubuntu20.04
KubeKey config file
No response
A clear and concise description of what happend.
执行kk artifact export --yes -m offline-ubuntu.yaml -o al-cloud-ubuntu2004.tar.gz命令,报错如下: `Failed to download calicoctl binary: curl -L -o /root/wyl-work/ubuntu/kubekey/artifact/cni/amd64/calicoctl https://kubernetes-release.pek3b.qingstor.com/projectcalico/calico/releases/download//calicoctl-linux-amd64 error: No SHA256 found for calicoctl. is not supported.
14:40:35 CST failed: [LocalHost]
error: Pipeline[ArtifactExportPipeline] execute failed: Module[ArtifactBinariesModule] exec failed:
failed: [LocalHost] [DownloadBinaries] exec failed after 1 retries: Failed to download calicoctl binary: curl -L -o /root/wyl-work/ubuntu/kubekey/artifact/cni/amd64/calicoctl https://kubernetes-release.pek3b.qingstor.com/projectcalico/calico/releases/download//calicoctl-linux-amd64 error: No SHA256 found for calicoctl. is not supported.
offline-ubuntu.yaml 内容如下:
root@ubuntu:~/wyl-work/ubuntu# cat offline-ubuntu.yaml
apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Manifest
metadata:
name: sample
spec:
arches:
- amd64
components:
containerRuntimes:
- type: containerd version: 1.6.4 crictl: version: v1.24.0 etcd: version: v3.5.6 helm: version: v3.9.0 images:`
Relevant log output
No response
Additional information
No response
找到原因,calicoctl v3.26.1在manifest文件中必须写,且必须写明版本,不要就会报错,calicoctl非必须,应该改成不写明时就不下载。
licoctl v3.26.1在manife
我刚刚也遇到了。
@wongearl 我在导出离线包之后,离线安装的时候出现了这个错误
error: Pipeline[CreateClusterPipeline] execute failed: Module[CopyImagesToRegistryModule] exec failed:
failed: [LocalHost] [PushManifest] exec failed after 1 retries: get manifest list failed by module cache
这个修复了吗?
修复了吗?
修复了吗?